Cron Job Failing With No Changes
octopushugz
HOBBYOP

a year ago

I've got a project with a cron job that's been running successfully every week for 3 weeks. It's now failing with no code changes/updates and I'm unable to see the execution logs to see what's causing the error. FWIW, running the code locally works as expected.

Thanks in advance for your help!

Solved

3 Replies

parmstar
EMPLOYEE

a year ago

Pasting hte logs here for you - does this help?

Starting Container

Mar 03 01:03:22

npm warn config production Use --omit=dev instead.

Mar 03 01:03:22

Mar 03 01:03:22

> todoist-grcocery-list-update@1.0.0 start

Mar 03 01:03:22

> node index.js

Mar 03 01:03:22

Mar 10 02:01:46

Starting Container

Mar 10 02:01:52

npm warn config production Use --omit=dev instead.

Mar 10 02:01:52

Mar 10 02:01:52

> todoist-grcocery-list-update@1.0.0 start

Mar 10 02:01:52

> node index.js

Mar 10 02:01:52


Status changed to Awaiting User Response Railway about 1 year ago


parmstar

Pasting hte logs here for you - does this help? Starting Container [Mar 03 01:03:22](https://railway.com/project/f752a9c1-41f6-4ef9-a16d-fc4142f803fd/logs?environmentId=d62c22f5-9642-42f7-bfa8-49d1e94de370&filter=%40deployment%3A131d5d41-6acc-442e-9445-34adf1cacf4d+-%40replica%3A61187760-85d8-494f-b712-14796f36a988&context=2025-03-03T06%3A03%3A22.037051634Z) npm warn config production Use `--omit=dev` instead. [Mar 03 01:03:22](https://railway.com/project/f752a9c1-41f6-4ef9-a16d-fc4142f803fd/logs?environmentId=d62c22f5-9642-42f7-bfa8-49d1e94de370&filter=%40deployment%3A131d5d41-6acc-442e-9445-34adf1cacf4d+-%40replica%3A61187760-85d8-494f-b712-14796f36a988&context=2025-03-03T06%3A03%3A22.037071140Z) [Mar 03 01:03:22](https://railway.com/project/f752a9c1-41f6-4ef9-a16d-fc4142f803fd/logs?environmentId=d62c22f5-9642-42f7-bfa8-49d1e94de370&filter=%40deployment%3A131d5d41-6acc-442e-9445-34adf1cacf4d+-%40replica%3A61187760-85d8-494f-b712-14796f36a988&context=2025-03-03T06%3A03%3A22.037091111Z) \> todoist-grcocery-list-update@1.0.0 start [Mar 03 01:03:22](https://railway.com/project/f752a9c1-41f6-4ef9-a16d-fc4142f803fd/logs?environmentId=d62c22f5-9642-42f7-bfa8-49d1e94de370&filter=%40deployment%3A131d5d41-6acc-442e-9445-34adf1cacf4d+-%40replica%3A61187760-85d8-494f-b712-14796f36a988&context=2025-03-03T06%3A03%3A22.037109042Z) \> node index.js [Mar 03 01:03:22](https://railway.com/project/f752a9c1-41f6-4ef9-a16d-fc4142f803fd/logs?environmentId=d62c22f5-9642-42f7-bfa8-49d1e94de370&filter=%40deployment%3A131d5d41-6acc-442e-9445-34adf1cacf4d+-%40replica%3A61187760-85d8-494f-b712-14796f36a988&context=2025-03-03T06%3A03%3A22.037126034Z) [Mar 10 02:01:46](https://railway.com/project/f752a9c1-41f6-4ef9-a16d-fc4142f803fd/logs?environmentId=d62c22f5-9642-42f7-bfa8-49d1e94de370&filter=%40deployment%3A131d5d41-6acc-442e-9445-34adf1cacf4d+-%40replica%3A61187760-85d8-494f-b712-14796f36a988&context=2025-03-10T06%3A01%3A46.000000000Z) Starting Container [Mar 10 02:01:52](https://railway.com/project/f752a9c1-41f6-4ef9-a16d-fc4142f803fd/logs?environmentId=d62c22f5-9642-42f7-bfa8-49d1e94de370&filter=%40deployment%3A131d5d41-6acc-442e-9445-34adf1cacf4d+-%40replica%3A61187760-85d8-494f-b712-14796f36a988&context=2025-03-10T06%3A01%3A52.877560888Z) npm warn config production Use `--omit=dev` instead. [Mar 10 02:01:52](https://railway.com/project/f752a9c1-41f6-4ef9-a16d-fc4142f803fd/logs?environmentId=d62c22f5-9642-42f7-bfa8-49d1e94de370&filter=%40deployment%3A131d5d41-6acc-442e-9445-34adf1cacf4d+-%40replica%3A61187760-85d8-494f-b712-14796f36a988&context=2025-03-10T06%3A01%3A52.877695093Z) [Mar 10 02:01:52](https://railway.com/project/f752a9c1-41f6-4ef9-a16d-fc4142f803fd/logs?environmentId=d62c22f5-9642-42f7-bfa8-49d1e94de370&filter=%40deployment%3A131d5d41-6acc-442e-9445-34adf1cacf4d+-%40replica%3A61187760-85d8-494f-b712-14796f36a988&context=2025-03-10T06%3A01%3A52.877768152Z) \> todoist-grcocery-list-update@1.0.0 start [Mar 10 02:01:52](https://railway.com/project/f752a9c1-41f6-4ef9-a16d-fc4142f803fd/logs?environmentId=d62c22f5-9642-42f7-bfa8-49d1e94de370&filter=%40deployment%3A131d5d41-6acc-442e-9445-34adf1cacf4d+-%40replica%3A61187760-85d8-494f-b712-14796f36a988&context=2025-03-10T06%3A01%3A52.877828021Z) \> node index.js [Mar 10 02:01:52](https://railway.com/project/f752a9c1-41f6-4ef9-a16d-fc4142f803fd/logs?environmentId=d62c22f5-9642-42f7-bfa8-49d1e94de370&filter=%40deployment%3A131d5d41-6acc-442e-9445-34adf1cacf4d+-%40replica%3A61187760-85d8-494f-b712-14796f36a988&context=2025-03-10T06%3A01%3A52.877877964Z)

octopushugz
HOBBYOP

a year ago

Nothing helpful there haha. I literally didn't update anything and after working multiple times it just started erroring out. I'm going to push an update and hope that fixes it, but if it starts breaking again for some reason, it's likely hinting at some issue


Status changed to Awaiting Railway Response Railway about 1 year ago


chandrika
EMPLOYEE

a year ago

Hey Colson, it looks like this might be up and running again? If so, any hints for future readers on what helped fix the issue?


Status changed to Awaiting User Response Railway about 1 year ago


Railway
BOT

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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...