Skip to content

Listing cron jobs

Listing individual cron jobs can help you find information about cron jobs which are running, have run or are failing. This includes some basic information such as the time it was last run and how long it was run for.

You can find up to 10 of the latest job runs for each job configured in your project/environment configuration files.

Usage

$ skpr cron job list dev
───────────────────────────── ─────────── ─────────────────────────────── ──────────
NAME (13)                     PHASE       START TIME                      DURATION  
───────────────────────────── ─────────── ─────────────────────────────── ──────────
drupal-dev-drush-28306320     Succeeded   2023-10-27 04:00:00 +0000 UTC   24s       
───────────────────────────── ─────────── ─────────────────────────────── ────────── 

More Information

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

List all of Jobs which have been executed as part of a Cron.

Flags:
  --help  Show context-sensitive help (also try --help-long and --help-man).
  --json  Show output as JSON.

Args:
  <environment>  Name of the Environment.

What's next?

After listing Jobs, consider one of the following: