function signup_cron in Signup 6
Same name and namespace in other branches
- 5.2 signup.module \signup_cron()
- 5 signup.module \signup_cron()
- 6.2 signup.module \signup_cron()
- 7 signup.module \signup_cron()
Implementation of hook_cron().
There are two cron-based tasks that can be performed by the signup module: sending reminder emails to nodes that will begin soon, and auto-closing signup on nodes that have already started (depending on settings). Each of these tasks is rather complicated and depends on the specific date-based backend module that's currently installed (if any), so each one is handled in a separate helper function.
See also
Related topics
File
- ./
signup.module, line 183 - The Signup module (http://drupal.org/project/signup) manages replies to nodes. In particular, it's good for event management. Signup supports sending reminder emails and automatically closing signups for nodes with a start time, via the Event…
Code
function signup_cron() {
module_load_include('inc', 'signup', 'includes/cron');
_signup_initialize_scheduler_backend();
_signup_cron_send_reminders();
_signup_cron_autoclose();
}