how to pause a job?

181 views
Skip to first unread message

James Shaw

unread,
Feb 25, 2016, 9:48:55 AM2/25/16
to chronos-scheduler
I was expecting to see a pause button to temporarily pause a cron job - what is the recommended way to pause the scheduler?

Brenden Matthews

unread,
Feb 25, 2016, 9:49:28 AM2/25/16
to James Shaw, chronos-scheduler
You can kill a job, but there's no concept of pausing execution.

On Thu, Feb 25, 2016 at 3:48 PM, James Shaw <james...@gmail.com> wrote:
I was expecting to see a pause button to temporarily pause a cron job - what is the recommended way to pause the scheduler?

--
You received this message because you are subscribed to the Google Groups "chronos-scheduler" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chronos-schedu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Matt Gould

unread,
Feb 26, 2016, 4:13:21 PM2/26/16
to chronos-scheduler, james...@gmail.com
I think he was talking about not pausing in the middle of an execution, but instead stopping new instances from starting without modifying the job its self.

Brenden Matthews

unread,
Feb 26, 2016, 4:14:20 PM2/26/16
to Matt Gould, chronos-scheduler, James Shaw
If that's the case, you could disable the job temporarily. Just update the job definition and set `disabled: true`.

John Omernik

unread,
Feb 26, 2016, 4:16:02 PM2/26/16
to Brenden Matthews, Matt Gould, James Shaw, chronos-scheduler

This causes docker jobs to lose container information when done in the UI....just a FYI

James Shaw

unread,
Feb 26, 2016, 4:17:46 PM2/26/16
to chronos-scheduler, mhg...@gmail.com, james...@gmail.com
thanks, that makes sense. Found 'job status' under 'other settings'.
Reply all
Reply to author
Forward
0 new messages