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

superfive33's avatar

Forge: scheduler not running

Hi,

None of the scheduled jobs on Forge are running. The log of each job says:

Scheduled Job Log (XXXXXX) Command: php /home/forge/my-site.example/artisan schedule:run cat: /home/forge/.forge/scheduled-XXXXXX.log: No such file or directory

I've restarted the server, recreated the jobs. Nothing works.

Does anyone know how to fix this ?

thanks

0 likes
5 replies
Nakov's avatar

You should just set the scheduler to run every minute for example on your project directory, then you need to check the logs in your project if the job/command has any errors or what happens with the job.. So the logs are not available in this directory cat: /home/forge/.forge/scheduled-XXXXXX.log

But it should be here: /home/forge/my-site.example/storage/logs/ and then the file is laravel..., .log extension

Nakov's avatar

@superfive33 when you use scheduler:run command it takes all the commands registered in your App\Console\Kernel.php class, the schedule method. So do you have your command scheduled there? And is it running every minute or at a specific time?

superfive33's avatar

I have several commands in the Kernel::schedule method. Some of then are to be ran daily, others hourly.

raf_'s avatar

This works for me! go project path and run the artisan command

cd /home/forge/default && php artisan schedule:run

Please or to participate in this conversation.