mercredi 27 juillet 2016

spatie/laravel-backup : Scheduling doesn't work

I need to have database backup in every hour in my recent project.So I used spatie/laravel-backup where there is documentation of scheduling process also.Means I can keep the backup database in every hour.I have followed the doc and do the same process for scheduling. But the database doesn't keep the backup.

I have installed it successfully as whenever i run the following command it creates a backup database.

php artisan backup:run

But for scheduling I have added the following line in schedule function in kernel.php as doc referred

 $schedule->command('backup:run')
                     ->hourly();

but nothing happened. If anyone the package with scheduling please help me to find the Error. Thanks!



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2a5WnBY
via IFTTT

Aucun commentaire:

Enregistrer un commentaire