I added the following to the rules_scheduler.module

function rules_scheduler_cron() {
  // Do max 30 rule sets
  //TODO: make this configureable
  //get drupal DST time
  $thetime = $time();
$realdate = format_date($thetime, 'custom', 'Y-m-d H:i:s');
//end - $realdate replaces gmdate('Y-m-d H:i:s')
  $result = db_query_range("SELECT * FROM {rules_scheduler} WHERE date < '%s'", $realdate, 0, 30);

seems to work - suppose we'll find out in October!

Comments

DRScales’s picture

Issue summary: View changes

work in progress - posted too soon!

TR’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Drupal 6 end of life was 24 Feb 2016. Drupal 6 and Rules 6.x-1.x are no longer supported as of that date, and no bugs with those versions will be investigated or fixed.

If this issue is still a problem in the Drupal 7 or Drupal 8 version of Rules, please open a new issue with complete details of how to reproduce the bug.