Hi all,

I am using Drupal 7 and the rules 2.
I followed the instruction at http://drupal.org/node/1068136 to set up a daily basis task. Due to the version issue, some tabs/buttons are in different places, thus I won't be able to follow the exact instruction.

The rule works well with the "execute" also with the "schedule", but the problem is that it is just executed once. But I want it to be executed everyday at the same time.

Can somebody tell me where I might miss?

Thank you.

Comments

carn1x’s picture

At risk of repeating what's in http://drupal.org/node/1068136 the repetition is caused by making sure that your component has an Action called "Schedule component evaluation" which calls the Component itself.

Maybe you could export your Component and paste the contents here so we could look over it.

itangalo’s picture

Status: Active » Fixed

Some more information about repeated tasks can be found in this screencast: http://nodeone.se/node/1034

Please reopen if more information is necessary. Good luck!

Status: Fixed » Closed (fixed)

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

qasimzee’s picture

Status: Closed (fixed) » Active

I have created a rule component scheduling itself but it just gets scheduled only once. After I run cron, it is executed and removed from the "Schedule" tab and doesn't reschedule itself again. Following is the exported rule component:

{ "rules_test_repeating_component" : {
    "LABEL" : "test repeating component",
    "PLUGIN" : "action set",
    "REQUIRES" : [ "rules", "rules_scheduler" ],
    "ACTION SET" : [
      { "schedule" : {
          "component" : "rules_test_repeating_component",
          "date" : "+1 minute",
          "identifier" : "test repeating event"
        }
      }
    ]
  }
}
qasimzee’s picture

Status: Active » Closed (fixed)

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