ConceptsJobs & cron
Cancel a run
A cancel stops the container of a run. The container has 10 seconds to stop by itself.
ferry jobs cancel job-d2ef824c6d6c446086e9SIGTERM. Ferry asks the container to stop.
1 / 4
The 10 seconds are the grace period. SIGTERM and SIGKILL are signals: messages that the system sends to a program.
You cannot cancel a run that is complete. The command gives an error.
Other causes that stop a run
| Cause | Status of the run |
|---|---|
| You suspend or delete the service. | canceled, in the same way |
| The server stops. | failed: "interrupted by server shutdown" |
| The server crashes. | failed: "interrupted by server restart". Ferry writes it at the next start. |
A run that hangs blocks the schedule of its cron job. Cancel it. See How scheduled runs work.