1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- /**
- * @file
- * mailing.default_elysia_cron_rules.inc
- */
- /**
- * Implements hook_default_elysia_cron_rules().
- */
- function mailing_default_elysia_cron_rules() {
- $cron_rules = array();
- $cron_rule = new stdClass;
- $cron_rule->disabled = FALSE; /* Edit this to true to make a default cron_rule disabled initially */
- $cron_rule->api_version = 1;
- $cron_rule->name = 'simplenews_cron';
- $cron_rule->disable = NULL;
- $cron_rule->rule = '* * * * *';
- $cron_rule->weight = -11;
- $cron_rule->context = 'mailing';
- $cron_rules['simplenews_cron'] = $cron_rule;
- $cron_rule = new stdClass;
- $cron_rule->disabled = FALSE; /* Edit this to true to make a default cron_rule disabled initially */
- $cron_rule->api_version = 1;
- $cron_rule->name = 'simplenews_scheduler_cron';
- $cron_rule->disable = NULL;
- $cron_rule->rule = '* * * * *';
- $cron_rule->weight = NULL;
- $cron_rule->context = NULL;
- $cron_rules['simplenews_scheduler_cron'] = $cron_rule;
- return $cron_rules;
- }
|