--- scheduler.module 2012-03-04 11:07:32.000000000 +0000 +++ scheduler.module 2012-04-11 20:41:49.000000000 +0100 @@ -112,14 +112,15 @@ function scheduler_help($section) { . '
' . t('The options and settings below are common to all content types.') . '

'; break; case 'admin/config/content/scheduler/cron': + $base_url = $GLOBALS['base_url']; $output = '

' . t("When you have set up Drupal's standard crontab job cron.php then Scheduler will be executed during each cron run. " . "However, if you would like finer granularity to scheduler, but don't want to run Drupal's cron more often then you can use the " . "lightweight cron handler provided by Scheduler. This is an independent cron job which only runs the scheduler process and does not " . "execute any cron tasks defined by Drupal core or any other modules.") . '

' . '

' . t("Scheduler's cron is at /scheduler/cron and a sample crontab entry to run scheduler every minute might look like:") . '

' - . '* * * * * /usr/bin/wget -O - -q "http://example.com/scheduler/cron"' + . '* * * * * /usr/bin/wget -q -O /dev/null "' . $base_url . '/scheduler/cron"' . '

or

' - . '* * * * * curl "http://example.com/scheduler/cron" > /dev/null 2>&1

'; + . '* * * * * curl -s -o /dev/null "' . $base_url . '/scheduler/cron"

'; break; case 'admin/help#scheduler': // This is shown at the top of admin/help/scheduler.