Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

monstajamss's avatar

Laravel Forge Scheduler Not Working

So i set my laravel forge scheduler to run a spatie backup command nightly 0 0 * * *

php /home/forge/example.com/artisan schedule:run

and i have this command in my kernel.php

protected function schedule(Schedule $schedule)
    {
        $schedule->command('backup:clean')->daily()->at('01:00');
        $schedule->command('backup:run --only-db')->daily()->at('02:00');
        $schedule->command('backup:monitor')->daily()->at('03:00');
    }

But the backup does not work as i do not get any email... if i run the command php artisan back:run --only-db it works but the cron job does not seem to work.

Reading the documentation it says daylight saving could affect it not having backup. I am in the UK so i am not sure if that affects it as laravel timezone is UTC.

Is there a solution to this?

0 likes
1 reply
idew's avatar

Regardless of timezone the backup should still execute. If you run the command php artisan schedule:list on the server are your scheduled backups listed? The command php /home/forge/example.com/artisan schedule:run uses your site name in place of example.com in your Forge settings, correct?

Please or to participate in this conversation.