R
Railway10mo ago
TonyS

Project with cron job aways skipped

Why my project nevers run with cron
No description
21 Replies
Percy
Percy10mo ago
Project ID: c8a3761a-a377-4eda-8e52-b9aaf8481dd2
TonyS
TonyS10mo ago
c8a3761a-a377-4eda-8e52-b9aaf8481dd2
Hys
Hys10mo ago
what is the cron supposed to do?
Brody
Brody10mo ago
does your code exit after it runs?
Draak
Draak10mo ago
(watching because I'm having the same issue)
Brody
Brody10mo ago
does your code exit after it runs?
Draak
Draak10mo ago
yes. it's been untouched and it was working before.
Brody
Brody10mo ago
gotcha can you throw in your project id too please?
Draak
Draak10mo ago
2090e121-cc62-4fbe-9114-5349121f7893
Brody
Brody10mo ago
re-runs the service on the set schedule, but it will only be run if the previous run has exited
Duchess
Duchess10mo ago
Thread has been flagged to Railway team by @Brody.
Hys
Hys10mo ago
oh. i use a template someone created and works like a charm
Brody
Brody10mo ago
I think you are referring to my template
Hys
Hys10mo ago
yea 10/10
No description
Brody
Brody10mo ago
cc @gschier
Hys
Hys10mo ago
reboots my service @ 00:00 each day ok but why the laugh
Brody
Brody10mo ago
ask me in chit-chat
Greg Schier
Greg Schier10mo 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
TonyS10mo ago
ok sure i ll test i hav more cron services like this this fix will fix all ?
Greg Schier
Greg Schier10mo 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 Schier9mo 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