Add repeat options when triggering

This would trigger a run with the same payload X many times with a fixed gap between them.

await myTask.trigger({ some: "data" }, { repeat: { every: "30m", times: 8 } });

In this case, myTask would have 8 runs which are 30 minutes apart. All with the same payload.

Upvoters
Status

In Review

Board

💡 Feature Request

Date

Almost 2 years ago

Author

mattaitken

Subscribe to request

Get notified by email when there are changes.