I am working on a project where I would like to use the Deno Cron functionality, but I encountered a limitation. You cannot modify or stop a cron job once it has been set. There may be a way to do this, but I couldn't figure it out.
Describe the solution you'd like
It would be really useful if you could at least stop a cron job, allowing you to create a new one. I have two examples here of how this could look like.
I tried changing the schedule by setting one with the same name, but then resulted in this error: Uncaught TypeError: Cron with this name already exists. I will also be checking out Croner to see if it gets the job done for me.
What problem are you trying to solve?
I am working on a project where I would like to use the Deno Cron functionality, but I encountered a limitation. You cannot modify or stop a cron job once it has been set. There may be a way to do this, but I couldn't figure it out.
Describe the solution you'd like
It would be really useful if you could at least stop a cron job, allowing you to create a new one. I have two examples here of how this could look like.
Example 1
Example 2
Describe alternatives you've considered
I tried changing the schedule by setting one with the same name, but then resulted in this error: Uncaught TypeError: Cron with this name already exists. I will also be checking out Croner to see if it gets the job done for me.
Documentation, Adoption, Migration Strategy
No response