IO
io.unregisterCron()
io.unregisterCron()
allows you to unregister a DynamicSchedule that was previously registered with io.registerCron()
.
This has been deprecated in favor of DynamicSchedule.unregister
Parameters
Should be a stable and unique cache key inside the run()
. See
resumability for more information.
A DynamicSchedule that will trigger any Jobs itβs attached to on a regular interval.
A unique id for the schedule. This is used to identify and unregister the schedule later.
Returns
A Promise with the following shape:
Whether the schedule was successfully unregistered.
Was this page helpful?