R
Railway11mo ago
TonyS

Project with cron job aways skipped

Why my project nevers run with cron
No description
21 Replies
Percy
Percy11mo ago
Project ID: c8a3761a-a377-4eda-8e52-b9aaf8481dd2
TonyS
TonyS11mo ago
c8a3761a-a377-4eda-8e52-b9aaf8481dd2
Hys
Hys11mo ago
what is the cron supposed to do?
Brody
Brody11mo ago
does your code exit after it runs?
Draak
Draak11mo ago
(watching because I'm having the same issue)
Brody
Brody11mo ago
does your code exit after it runs?
Draak
Draak11mo ago
yes. it's been untouched and it was working before.
Brody
Brody11mo ago
gotcha can you throw in your project id too please?
Draak
Draak11mo ago
2090e121-cc62-4fbe-9114-5349121f7893
Brody
Brody11mo ago
re-runs the service on the set schedule, but it will only be run if the previous run has exited
Duchess
Duchess11mo ago
Thread has been flagged to Railway team by @Brody.
Hys
Hys11mo ago
oh. i use a template someone created and works like a charm
Brody
Brody11mo ago
I think you are referring to my template
Hys
Hys11mo ago
yea 10/10
No description
Brody
Brody11mo ago
cc @gschier
Hys
Hys11mo ago
reboots my service @ 00:00 each day ok but why the laugh
Brody
Brody11mo ago
ask me in chit-chat
Greg Schier
Greg Schier11mo ago
We're having a bug where we sometimes don't receive the signal that the last cron has finished, so we don't start the next one. I just manually deleted the last successful cron for your service so it should work now
TonyS
TonyS11mo ago
ok sure i ll test i hav more cron services like this this fix will fix all ?
Greg Schier
Greg Schier11mo ago
It won't, no. I fixed it by scrolling through the cron runs and manually removing the one that says "Active"
Greg Schier
Greg Schier11mo ago
Quick update. I just deployed a more thorough fix that makes this workaround unnecessary. If you are seeing a bunch of "Skipped" crons, jobs will now resume running on their own
No description