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

Over 1 year ago

Author

mattaitken

Subscribe to post

Get notified by email when there are changes.