Schedule a persistent task to run repeatedly at a fixed interval. The first fire isprotectedevery(intervalSeconds,method,payload?,opts?):Promise<string>
intervalSeconds from now. After each successful run
the next fire is scheduled one interval from the start of the drain turn,
and the attempt counter resets. Failed runs retry with backoff like any
other task. Use a stable opts.id to make re-arming an upsert (e.g. on
every activation).
Parameters
Returns
Promise<string>
The task id.