Cron Utilities

Overview

Includes multiple cron functions to facilitate scheduling using cron strings.

Key Features & Functionality

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

Reference the cron-utils repository for cron syntax examples: https://github.com/jmrozanec/cron-utils?tab=readme-ov-file

Anonymous
Parents
  • 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.

Comment
  • 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.

Children
No Data