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

superfive33's avatar

Problems with scheduler

Hi,

the scheduler on Forge is not working. I have noticed several potential issues:

  • when I, logged as root, manually run the default command apt-get autoremove && apt-get autoclean I get an error: E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

  • I have 4 applications installed, with one "every minute" scheduled job for each. In Forge, every log displays a message like this one:

Scheduled Job Log (404474) Command: php /home/forge/myapp.com/artisan schedule:run cat: /home/forge/.forge/scheduled-404474.log: No such file or directory

When I run php artisan schedule:run, commands are ran (only the ones with the everyMinute frequence, not the ones with daily frequency).

There are no error in applications log files.

  • I have restarted the server, nginx. Still the same issues.

I don't know what happens or how to fix ! Thanks

0 likes
3 replies
Snapey's avatar

commands with daily frequency only run at exactly 00:00 (not once per day)

superfive33's avatar

Shame on me: cron wasn’t installed on the server 😳🤯

Please or to participate in this conversation.