3 months ago
Hi,
I started a service, i decided to deploy on railway because of it easy way to deploy a cronjob(this from what i heard). Unfortunately, It is compleately unreliable, it runs 4 times and stops running forever. I thought it was a plan problem so i passed to hobby plan, I thought if you pay you must to have a reliable service, apparently not. My job run for 30sec as average every 15min, it runs 4times and then stops, then you need a manual redeploy to make it running for a bit, is not about delay(that is acceptable for me) is about the cron not working at all.
10 Replies
3 months ago
Hi! mind sharing that service link here?
Hi @Medim
Project link: https://railway.com/project/cd1ce32f-e254-4820-9242-b743d05f17f6/
Here what i see:

3 months ago
!t
3 months ago
This thread has been escalated to the Railway team.
Status changed to Awaiting Railway Response medim • 3 months ago
3 months ago
How much time is going to take to fix it?
3 months ago
Howdy! Definitely not ideal, so thank you very much for reporting! This does look like an issue with a current investigation we're working on that causes a few issues with CRONs defined in railway.json.
As a short-term fix, you could remove the cron declaration from railway.json and use the cron settings tab in the UI instead. It should have the same functionality, just in a different place.
Status changed to Awaiting User Response Railway • 3 months ago
3 months 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!
3 months ago
Went ahead and attached a ticket so we can track this best. Will let you know as soon as we get a fix out!
noahd
Howdy! Definitely not ideal, so thank you very much for reporting! This does look like an issue with a current investigation we're working on that causes a few issues with CRONs defined in railway.json.As a short-term fix, you could remove the cron declaration from railway.json and use the cron settings tab in the UI instead. It should have the same functionality, just in a different place.
3 months ago
Hi Noahd,
Thanks for answering, I now removed to railway.json and added via UI. Let you know tomorrow if in that way it works in a reliable way.
Status changed to Awaiting Railway Response Railway • 3 months ago
3 months ago
🛠️ The ticket Scheduled Tasks Issue has been marked as backlog.
Status changed to Awaiting User Response noahd • 3 months ago
3 months 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 • 3 months ago
3 months ago
✅ The ticket Scheduled Tasks Issue has been marked as completed.