Return to index

cron functions

int = cron_next(cron_schedule, [from_epoch])

top

Get seconds until next cron execution.

Example:

# Example for cron_next
println cron_next("0 0 * * *")


any = cron_parse(cron_schedule)

top

Parse cron schedule and return structured description of what it means.

Example:

# Example for cron_parse
println cron_parse("0 0 * * *")


bool = cron_validate(cron_schedule)

top

Validate cron schedule syntax.

Example:

# Example for cron_validate
println cron_validate("0 0 * * *")


string = quartz_to_cron(quartz_schedule)

top

Convert Quartz format schedule to cron format.

Example:

# Example for quartz_to_cron
println quartz_to_cron("0 0 12 * * ?")