Cron Utilities

Includes multiple cron functions to facilitate scheduling using cron strings.

Simply an expression wrapper of the library.


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