Hi i am using spatie(spatie/laravel-backup) package for database backup. Also using nao-pon/flysystem-google-drive package for google drive upload using laravel schedule command. Here is command code
$schedule->command('database:check')->everyMinute();
$schedule->command('backup:clean')->everyMinute();
$schedule->command('backup:run --only-db')->everyMinute();
When i run php artisan schedule:run on my local then i get a zip file on my google drive.But when i run this on cpanel then i didn't get any file in my google drive. Here is code for cron job
/usr/local/bin/php /home/masumcom/binary.masum3.com/artisan
schedule:run
One command run perfectly but other two not working perfectly
$schedule->command('database:check')->everyMinute();
Only this one working perfectly
question from:
https://stackoverflow.com/questions/65849869/laravel-spatie-database-backup-to-google-drive-on-cpanel 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…