#CF worker with multiple cron trigger using DO alarm

1 messages · Page 1 of 1 (latest)

weary rune
#

I want to schedule 7 crons in one worker, but worker have validation, we can schedule only 3 crons in one worker.
so,
I want, suggestion, can we do this type of functionality using a DO alarms, if yes how we can do that?

I read DO alarm docs, its seems like we can integrate alarm in API and we can loop alarm in alarm function.
but, for schedule alarms we need to use API for schedule a s. can we automate it like worker cron trigger?

cc @twin rampart, @scarlet trellis, @weary rune

twin rampart
#

@fringe matrix you mentioned a way of doing this before

weary rune
#

<@&887014516909555745> Is anyone here to guide us? how we can do that.

scarlet trellis
#

<@&887014516909555745> is anyone here to help me?

fringe matrix
#

what have you tried? just use DO alarms

scarlet trellis
#

I want to do the every create an alarm every 2 seconds and sets the alarm, when, I am calling the water routes but, I am getting an error

fringe matrix
scarlet trellis
#

can you please give me the docs link or exmaple?

scarlet trellis
twin rampart
#

Thank you @fringe matrix !