cronjob stops working after 1h
andrearettaroli
HOBBYOP

10 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.

Solved

10 Replies

10 months ago

Hi! mind sharing that service link here?


andrearettaroli
HOBBYOP

10 months ago


10 months ago

!t


10 months ago

This thread has been escalated to the Railway team.

Status changed to Awaiting Railway Response medim • 10 months ago


andrearettaroli
HOBBYOP

10 months ago

How much time is going to take to fix it?


10 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 • 10 months ago


Railway
BOT

10 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!


10 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.

andrearettaroli
HOBBYOP

10 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 • 10 months ago


Railway
BOT

10 months ago

🛠️ The ticket Scheduled Tasks Issue has been marked as backlog.


Status changed to Awaiting User Response noahd • 10 months ago


Railway
BOT

9 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 • 9 months ago


Railway
BOT

9 months ago

✅ The ticket Scheduled Tasks Issue has been marked as completed.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...