await dynamicSchedule.register(userId, { type: "cron", options: { cron: "0 0 * * *", }, });
Use this method to register a new schedule with the DynamicSchedule.
context.source.id
cron
interval
Show cron
Hide options
context.source.metadata
Show interval
Was this page helpful?