a month ago
My cron job stopped running even though it previously worked correctly.
Nothing was changed in the repository except normal code updates.
Service Configuration
Cron Schedule:*/5 * * * * (every 5 minutes)
Build & Start Commands (nixpacks.toml)
[phases.setup]
nixPkgs = ["python312"]
[start]
cmd = "python start-job.py"
Problem
The cron job used to run normally, but now it no longer triggers at all.
The service does not start at the scheduled intervals.
What I Checked
No errors appear in logs at the scheduled times — there are no runs at all, as if the cron isn’t firing.
The cron expression is valid.
The code runs successfully when manually deployed or started.
Serverless mode is enabled (default), but cron should still wake the service.
Increasing resources didn’t help.
13 Replies
a month ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
a month ago
Its not helping at all, I also see other tickets about this issue. Anyone faced it?
a month ago
Any help on this?
a month ago
yes, it is currently escalated to the team
https://station.railway.com/questions/cronjobs-sometimes-do-not-run-at-all-ae826593
a month ago
Hello!
We're acknowledging your issue and attaching a ticket to this thread.
We don't have an ETA for it, but, our engineering team will take a look and you will be updated as we update the ticket.
Please reply to this thread if you have any questions!
Status changed to Awaiting User Response Railway • 26 days ago
a month ago
Is this a known issue?
Status changed to Awaiting Railway Response Railway • 26 days ago
a month ago
Currently cron related issues are under investigation and unfortunately we do not have an ETA to share yet.
Please note that we do not guarantee cron jobs will be executed on the dot; there may be a slight delay of up to a few minutes from the time it's scheduled to run, including when you invoke it through the "Run now" button. A few minutes of delay is normal, but a delay of more than 10~15 minutes is not.
Status changed to Awaiting User Response Railway • 26 days ago
a month ago
Hi,
We are having similar issues, we have a few crons that are vital to our production system which are not running since an hour ago now. Would appericiate some help asap
Status changed to Awaiting Railway Response Railway • 26 days ago
waresa
Hi,We are having similar issues, we have a few crons that are vital to our production system which are not running since an hour ago now. Would appericiate some help asap
a month ago
Hello,
Please create your own thread for that so we can track issues separately.
Status changed to Awaiting User Response Railway • 26 days ago
21 days ago
Hello,
An update: We have made several changes to our CRON scheduling system, and from our internal metrics, we have seen this make a massive improvement in CRON execution delay and have eliminated missed CRONs. Additionally, the Run Now button starts the job much faster.
But please let us know if this isn't the case for you!
Best,
Brody
21 days ago
🛠️ The ticket Scheduling Inaccuracy Issue has been marked as in progress.
18 days ago
✅ The ticket Scheduling Inaccuracy Issue has been marked as completed.
11 days ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 11 days ago
