Cron job is running forever (how to stop it?)
caicapp
HOBBYOP

a year ago

Hello,

One of my cron job executions has been showing a 'Running' status for days, despite not actually running—there are no execution logs in the deploy logs, just a Stopping container log. I've done other deployments since, but this particular job continues to display as 'Running.' I'd like to know how I can stop this job permanently.

Solved

8 Replies

caicapp
HOBBYOP

a year ago

I've uploaded a screenshot

Attachments


brody
EMPLOYEE

a year ago

Hello,

This is likely caused by you having enabled app sleeping, can you help me to understand why you have enabled app sleeping on a CRON service?


caicapp
HOBBYOP

a year ago

Hi, I have no idea to be honest, maybe I just misclicked it when I was configuring the service. So disabling it will solve the problem and stop the running container?


brody
EMPLOYEE

a year ago

No, it was already stopped, it was just a display bug.


caicapp
HOBBYOP

a year ago

Oh. okay. Thank you!


brody
EMPLOYEE

a year ago

Please disable app sleeping.


caicapp
HOBBYOP

a year ago

Hello @brody . It happened again. I've disabled app sleeping since that day. I think there's some bug in the cron runs display.

Attachments


brody
EMPLOYEE

a year ago

Purely just a UI bug, it was not actually running, but I have updated its state.

Going forward, I would highly recommend not running node apps via NPM, run them directly with node.


Status changed to Solved brody 12 months ago


Loading...