mailing.default_elysia_cron_rules.inc 951 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * @file
  4. * mailing.default_elysia_cron_rules.inc
  5. */
  6. /**
  7. * Implements hook_default_elysia_cron_rules().
  8. */
  9. function mailing_default_elysia_cron_rules() {
  10. $cron_rules = array();
  11. $cron_rule = new stdClass;
  12. $cron_rule->disabled = FALSE; /* Edit this to true to make a default cron_rule disabled initially */
  13. $cron_rule->api_version = 1;
  14. $cron_rule->name = 'simplenews_cron';
  15. $cron_rule->disable = NULL;
  16. $cron_rule->rule = '* * * * *';
  17. $cron_rule->weight = -11;
  18. $cron_rule->context = 'mailing';
  19. $cron_rules[''] = $cron_rule;
  20. $cron_rule = new stdClass;
  21. $cron_rule->disabled = FALSE; /* Edit this to true to make a default cron_rule disabled initially */
  22. $cron_rule->api_version = 1;
  23. $cron_rule->name = 'simplenews_scheduler_cron';
  24. $cron_rule->disable = NULL;
  25. $cron_rule->rule = '* * * * *';
  26. $cron_rule->weight = NULL;
  27. $cron_rule->context = NULL;
  28. $cron_rules[''] = $cron_rule;
  29. return $cron_rules;
  30. }