Cron job not running at specific time
Hi
I have a cron job that should run every hour 0 * * * *.
For some reason, it skips runs sometimes. In the attached picture, it skips 10 PM and 3 AM, but I had cases in which it skipped 3 hours straight.
The cron job takes data from a sql database every hour and sends an alert based on a condition.
Is there any documented reason for this happening? I have another job that is scheduled to run every 5 minutes and it does so without any issues, there are no runs skipped.
Project ID:c84bb5be-0280-4c9f-92d4-910475505789
Solution:Jump to solution
This is probably due to their over scheduling bug, until that's fixed it might be best to temporarily swap to an in code scheduler
10 Replies
Project ID:
c84bb5be-0280-4c9f-92d4-910475505789,3e9fe10e-2b44-4059-a249-99d6ee4d3165
I also didn't get the PRO Role even though I made a team for the PRO Plan
Solution
This is probably due to their over scheduling bug, until that's fixed it might be best to temporarily swap to an in code scheduler
yeah the bot is a little silly at times, show me some form of proof and I'd add the badge for you
Railway Help Station
Cron job not running at specific time
Hi
I have a cron job that should run every hour 0 * * * *.
For some reason, it skips runs sometimes. In the attached picture, it skips 10 PM and 3 AM, but I had cases in which it skipped 3 hours straight.
The cron job takes data from a sql database every hour and sends an alert based on a condition.
Is there any documented reason for this ...
thanks, much appreciated. First thing I will try is to run it one minute later, at 1 * * * * and then I will switch to a code scheduler. That's actually how it was implemented before I tried the cron option
if it worked, railway's cron would be better since that means no idle resources
yup, exactly. That's why I switched
hello everyone, the cron schedule is still buggy? I've seen my cronjobs all skipped since today
I haven't heard of any big improvements so I would assume that yes it's still buggy