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
Percy2mo ago
Project ID: 4d0e9a9f-22a2-4f52-936b-c9b94fc12e5a
7wonders
7wondersOP2mo ago
4d0e9a9f-22a2-4f52-936b-c9b94fc12e5a
Brody
Brody2mo ago
can you try switching back to the previous cron UI?
7wonders
7wondersOP2mo ago
where at? not sure I ever had the previous, only started with the cron on friday
Brody
Brody2mo ago
service settings
7wonders
7wondersOP2mo ago
done is there another step then?
Brody
Brody2mo ago
refresh your broweser
7wonders
7wondersOP2mo ago
still seems to be stuck in limbo or I dont know, it keeps switching back to new cron ui where its limbo 🤦‍♂️
Brody
Brody2mo ago
screenshot please
7wonders
7wondersOP2mo ago
How it looks in new cron ui
7wonders
7wondersOP2mo ago
No description
7wonders
7wondersOP2mo ago
Even though I have
No description
Brody
Brody2mo ago
thats not limbo, it just wont stop running
7wonders
7wondersOP2mo ago
feels like limbo to me
No description
7wonders
7wondersOP2mo ago
it completed successfully yesterday, I have removed it and it even state stopping container
Brody
Brody2mo ago
does your code do a clean exit() ?
7wonders
7wondersOP2mo ago
it does now :blobyes: but that one probably not which is what I was trying to fix
Brody
Brody2mo ago
okay let me try something
7wonders
7wondersOP2mo ago
I have added a promise race where one promise is just a 1 minute timeout
No description
7wonders
7wondersOP2mo 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
Brody2mo 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
7wondersOP2mo ago
seems to have done the job thx for the help advice 😉
Brody
Brody2mo ago
no problem!
Want results from more Discord servers?
Add your server