Cron Utilities

Overview

Includes multiple cron functions to facilitate scheduling using cron strings.

Expression Functions:
  • cronDescribe - describes a cron schedule in plain text
  • cronNextExecution - returns datetime when next execution should occur
  • cronNextXExecutions - returns datetime when next X executions should occur
  • cronLastExecution - returns datetime when last execution should have occurred
  • cronNeedsExecution - returns true/false whether a cron schedule needs to trigger based on a previous run date
Anonymous