CRON service for monday-code

There does not appear to be a cron service for monday code.

A cron service would let us develop apps with scheduled tasks, or even internal scheduled tasks (for backend services for example).

*my presumption is that it would be an API we call to set a cron task, and a payload and the endpoint to call with it.

Thank you for the request @codyfrisch !

@codyfrisch Yes. Agreed. Handing this off somewhere would be a great help.

Though it has been suggested to me to use a scheduler such as node-schedule.

Thoughts @dipro, @gregra?

The problem is anything long running - like a scheduled event at 12AM on X date. With cold starts (meaning nothing is running) then there isn’t anything running the code. Though with the apparent changes to that, it may be less of an issue.

That said, what if your app is active enough its scaled up to three instances? Now you need some sort of method to coordinate so only one executes a task for example.

1 Like

@dvdsmpsn This cannot work because monday code is serverless, meaning it will only run when an http request will hit the instance. If you need such a capability, please open a feature request through our feature request process @dipro

1 Like

@gregra This actually is the feature request thread for a CRON service for monday-code :wink:

Cody, yeah, 100 percent :slight_smile: