shigoto_cron (shigoto v1.9.10)
View SourceCron scheduler. Checks configured cron expressions every minute and inserts jobs for entries that are due. On startup, catches up on any missed intervals since the last run.
Uses pg_try_advisory_lock so only one node runs cron checks
in a multi-node deployment.
Entries may carry a timezone in their Opts map (utc, an integer hour
offset, a "+/-N"/"UTC" binary, or a named IANA zone such as
<<"Europe/Stockholm">>). Named zones are resolved with DST via shigoto_tz.
See shigoto_config:cron_entries/0.