Step - define_job
define_job ยท category: Scheduled jobs
Defines (or replaces) a scheduled job: on a 5-field cron schedule it calls a saved query, writes a checkpoint or takes a backup of the store, with the definer's rights checked now and stored (Graphersal extension).
Forms
define_job(arg1: any)
Example
{ g.define_job(#{name: "nightly", schedule: "0 3 * * *", action: "checkpoint"}); g.jobs().map(|j| j.name) } // ["nightly"]