The scheduler allows rule sets to be executed once, at a predetermined time. Rules can be executed periodically (every day, every week, etc) by adding an action to the rule set that schedules itself to re-execute. But supporting the ability to schedule a set to execute periodically via the scheduler, without having to re-schedule itself, would make it much easier to use and maintain. This would be a nice UX improvement.

Original issue:
I setup a rule set and schedule it to run +1 hour, but the scheduler only runs it once. How can I make it recurrent to run every hour and not only once??

CommentFileSizeAuthor
#5 ical-repeat.png16.55 KBmitchell

Comments

fago’s picture

Status: Active » Fixed

Just re-schedule the set from the set itself.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

sylvaticus’s picture

Status: Closed (fixed) » Active

hmm... I think the original post was how to automatically schedule the rule every hour..

fago’s picture

Title: Recurrent Schedule task » UX: Recurrent schedule of tasks
Version: 7.x-2.0-alpha4 » 7.x-2.x-dev
Category: support » task
Issue tags: -job scheduler +UX

yes, add an action to the set that schedules itself. But well, I think supporting that directly in the schedule action would make it much easier to use and maintain, so this would be a nice UX improvement.

mitchell’s picture

Title: UX: Recurrent schedule of tasks » Repeat scheduled tasks
Category: task » feature
Status: Active » Postponed (maintainer needs more info)
StatusFileSize
new16.55 KB

Would this UI element work?

qasimzee’s picture

Even if we schedule the component itself in its action, it schedules itself when executed manually but it does not schedule itself if executed using cron.

qasimzee’s picture

my bad, it was not working when I was executing the rules_scheduler cron job using Elysia cron. Now working fine

tr’s picture

Title: Repeat scheduled tasks » Add ability to schedule rules periodically instead of just once
Issue summary: View changes
Status: Postponed (maintainer needs more info) » Active

I edited the issue summary to reflect that that this is now a feature request, and to describe the desired feature.

tr’s picture

Version: 7.x-2.x-dev » 8.x-3.x-dev
Status: Active » Postponed

Moving to D8 as there doesn't seem to be any community interest for implementing this new feature.

If this is going to be done, it should be done in D8 first then backported to D7 if there is sufficient participation from the community.

Postponing until Rules Scheduler is ported to D8.