Cron stuck in limbo

Not entirely sure whats happening. I noticed a failing cron has been running most the weekend so I deployed a new version with a fix to make sure it times out and exits. Now it just seems stuck with "Running..." and "Build › Publishing image..." with all the following jobs stuck at "Previous job still running...".
Solution:
yeah im pretty sure this was fixed going forward but it wouldnt have fixed it for previous runs, i recommend right clicking on your service and duplicating it
Jump to solution
23 Replies
Percy
Percy5w ago
Project ID: 4d0e9a9f-22a2-4f52-936b-c9b94fc12e5a
7wonders
7wonders5w ago
4d0e9a9f-22a2-4f52-936b-c9b94fc12e5a
Brody
Brody5w ago
can you try switching back to the previous cron UI?
7wonders
7wonders5w ago
where at? not sure I ever had the previous, only started with the cron on friday
Brody
Brody5w ago
service settings
7wonders
7wonders5w ago
done is there another step then?
Brody
Brody5w ago
refresh your broweser
7wonders
7wonders5w ago
still seems to be stuck in limbo or I dont know, it keeps switching back to new cron ui where its limbo 🤦‍♂️
Brody
Brody5w ago
screenshot please
7wonders
7wonders5w ago
How it looks in new cron ui
7wonders
7wonders5w ago
No description
7wonders
7wonders5w ago
Even though I have
No description
Brody
Brody5w ago
thats not limbo, it just wont stop running
7wonders
7wonders5w ago
feels like limbo to me
No description
7wonders
7wonders5w ago
it completed successfully yesterday, I have removed it and it even state stopping container
Brody
Brody5w ago
does your code do a clean exit() ?
7wonders
7wonders5w ago
it does now :blobyes: but that one probably not which is what I was trying to fix
Brody
Brody5w ago
okay let me try something
7wonders
7wonders5w ago
I have added a promise race where one promise is just a 1 minute timeout
No description
7wonders
7wonders5w ago
If I have to I can just nuke the service and re-add but I thought I would flag that something seems off
Solution
Brody
Brody5w ago
yeah im pretty sure this was fixed going forward but it wouldnt have fixed it for previous runs, i recommend right clicking on your service and duplicating it
7wonders
7wonders5w ago
seems to have done the job thx for the help advice 😉
Brody
Brody5w ago
no problem!
Want results from more Discord servers?
Add your server