Lightning.Workflows.Scheduler (Lightning v2.13.5-pre)

View Source

The Scheduler is responsible for finding jobs that are ready to run based on their cron schedule, and then running them.

Summary

Functions

Find and start any cronjobs that are scheduled to run for a given time (defaults to the current time).

Functions

enqueue_cronjobs()

Find and start any cronjobs that are scheduled to run for a given time (defaults to the current time).

enqueue_cronjobs(date_time)

@spec enqueue_cronjobs(DateTime.t()) :: :ok