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
  • If i understand correctly with this plugin we can only use these 5 functions to get details from cron string and cannot create new cron expression based on input. I have a requirement where user can enter the details for job scheduling and cron string has to be generated in appian before invoking api to schedule job.