modmore / Scheduler

A general, abstract method of scheduling various tasks within MODX Revolution.
https://www.modmore.com/extras/scheduler/documentation/
MIT License
11 stars 14 forks source link

Recurring Tasks #2

Closed Mark-H closed 2 years ago

Mark-H commented 10 years ago

Ability to specify a recurring task:

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1929361-recurring-tasks?utm_campaign=plugin&utm_content=tracker%2F927430&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F927430&utm_medium=issues&utm_source=github).
Mark-H commented 10 years ago

Right now this is possibly by having the task schedule the next run, which works quite well on modmore.com actually :P

benjaminglick commented 10 years ago

This is a great tool! Ditto on the recurring tasks. Many users many not know the script as well as you to add the rescheduling of itself o the end of their scripts. I would envision a checkbox with the label "recurring." If checked, the Scheduler script would automatically schedule itself according to the time selected (if 10 minutes from now, it would continue to reschedule itself every 10 minutes. If an exact time is selected, it would run at that time daily). That would be super easy and intuitive for end-users. Thanks again for your work on this!

Mikaro commented 9 years ago

I'm trying to reschedule the task... http://forums.modx.com/thread/96961/scheduler---schedule-a-run-conditional#dis-post-524629 Can you give me some advice?

Mark-H commented 2 years ago

I don't think this will be added. The recurring scheduling works fine, though I do recommend doing it at the start of your task; if it encounters an error further down that makes sure it doesn't end the cycle.