-record(scheduler, { id :: binary(), cron :: clockwork:cron(), job :: fun(() -> nil), with_logging :: boolean(), offset :: gleam@time@duration:duration() }).