Skip to content

Resume CronJobs

If your CronJobs are suspended, then you'll have the opportunity to resume them.

Resuming CronJobs will queue jobs that haven't been started matching your scheduling rules.

It is recommended to leave CronJobs in the suspended state until any workloads have completed which may write to the database as the operation takes place. There is an example of how you can implement this in a blog post.

Usage

$ skpr cron suspend dev -w
Waiting for cron to finish
All Cron tasks have been suspended.

More Information

$ skpr cron suspend --help
usage: skpr cron suspend [<flags>] <environment>

Suspend all Cron tasks

Flags:
      --help  Show context-sensitive help (also try --help-long and --help-man).
  -w, --wait  Wait for running cron tasks to complete

Args:
  <environment>  Environment name

What's next?

After resuming CronJobs, consider one of the following: