3 months ago
The cron feature was working just fine yesterday, today none of them ran. When I try to run the cron manually through the UI.. I get the following error.
"Failed to invoke cron execution
We were unable to start your cron execution. If this error persist, please contact support."
My settings are below. There's been no code changes and this has been working for months now.
Any thoughts?
{
"$schema": "https://railway.com/railway.schema.json",
"build": {
"builder": "RAILPACK",
"buildCommand": "npx tsup jobs/poll-darkpool.ts"
},
"deploy": {
"startCommand": "node dist/poll-darkpool.js",
"restartPolicyType": "ON_FAILURE",
"restartPolicyMaxRetries": 5
},
"environments": {
"production": {
"deploy": {
"cronSchedule": "*/5 12-23 * * 1-5"
}
}
}
}13 Replies
3 months 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!
Railway
Hey there! We've found the following might help you get unblocked faster: - [🧵 Unable to run cron jobs manually](https://station.railway.com/questions/unable-to-run-cron-jobs-manually-56bfe142) - [🧵 Failed to invoke cron job](https://station.railway.com/questions/failed-to-invoke-cron-job-4c63e704) - [🧵 Unable to trigger manual cron run](https://station.railway.com/questions/unable-to-trigger-manual-cron-run-3b69412a) If you find the answer from one of these, please let us know by solving the thread!
3 months ago
I don't think so, I am seeing other people with similar issues though with unresolved tickets per some of those threads
3 months ago
Alright seems like if I remove that JSON all together and configure everything through the UI, it works?
3 months ago
did you solve this? i'm experiencing the same situation
3 months ago
oh i did the same (removing JSON and configure with UI) and it worked. I think Railway team should inspect this
jayptookmyjayp
oh i did the same (removing JSON and configure with UI) and it worked. I think Railway team should inspect this
3 months ago
Agreed. It seemed to break yesterday morning. Was working all day long on the 12/4 just fine.
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
Hey there!
I do see that we are working internally on crons specifically for Metal Builders and that your cron might have been effected, but that has already been fixed.
Please reopen if you're seeing issues again!
Best,
Railway Support
Status changed to Awaiting User Response Railway • 3 months ago
Status changed to Solved echohack • 3 months ago
3 months ago
✅ The ticket Scheduled Task Issues has been marked as completed.
3 months ago
✅ The ticket Scheduled Tasks Issue has been marked as completed.
3 months ago
🛠️ The ticket Scheduled Tasks Issue has been marked as triage.
3 months ago
🛠️ The ticket Scheduled Tasks Issue has been marked as backlog.
2 months ago
✅ The ticket Scheduled Tasks Issue has been marked as completed.