Introducing Rules Scheduler

Drupal: 11m
Video Series
Information

This screencast shows how to start using Rules Scheduler. It does this by mimicking the Comment Closer module – closing the comments on articles two weeks after they are created. The screencast covers:

  • Rules Scheduler needs components – you can only schedule prepared components
  • Components can be scheduled as actions, for example from reaction rules
  • The evaluation time for scheduled tasks is set with strtotime(), which means that you can use highly flexible expressions
  • You can also use data selection, combined with offsets if you want to
  • Every scheduled task should have a unique task ID, or it will replace existing tasks
  • Scheduled tasks are displayed under the Schedule tab on the Rules admin pages
  • You can delete tasks manually if you want to
  • You can schedule tasks manually, without the need of reaction rules
  • It is sometimes useful to execute rule components manually, to see that the scheduled tasks will work as expected
Discussion

Comments

You need to be an active subscriber to comment. or .
Lullabot logo

Lullabot has trained thousands of Drupal developers & guided the development of some of the largest Drupal websites.