Cron Job no longer executing
mholmes101
HOBBYOP

8 days ago

Similar to a thread yesterday (https://station.railway.com/questions/cron-job-not-executing-anymore-246ffcd7) my cron job has been running fine for months and has suddenly stopped working. It is failing to update nightly and when I run manually.

I wondered if it's related to the NIXPACKS deprecation, but that should still work for existing projects. If that is the case, some communication that a non-compatible change is upcoming would have been appreciated.

{
    "$schema": "https://railway.app/railway.schema.json",
    "build": {
      "builder": "NIXPACKS"
    },
    "deploy": {
      "cronSchedule": "15 22 * * *",
      "startCommand": "python manage.py update_wrapper"
    }
}
Solved

3 Replies

Railway
BOT

8 days 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!


mholmes101
HOBBYOP

8 days ago

As with the linked thread, abandoning the config file in favour of configuring via the UI worked. I'll wait until support comment on whether this is the "correct" solution, though.


Railway
BOT

7 days 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 ray-chen 7 days ago


Railway
BOT

3 hours 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 about 3 hours ago


Loading...