summaryrefslogtreecommitdiff
path: root/modules/system.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-02-27 07:26:54 +0000
committerDries Buytaert <dries@buytaert.net>2003-02-27 07:26:54 +0000
commit64cc473d6d862a679f48d3bd45f7994cc42caa08 (patch)
tree1d9bc91069f0d413ced890b532cb08be327668f4 /modules/system.module
parentdadf09d8c82a3a0849339e2154b83cf9ad96a1a6 (diff)
downloadbrdo-64cc473d6d862a679f48d3bd45f7994cc42caa08.tar.gz
brdo-64cc473d6d862a679f48d3bd45f7994cc42caa08.tar.bz2
- Removed <?php ?> tags from documentation and made sure the important links are
at the top. Patch by Al.
Diffstat (limited to 'modules/system.module')
-rw-r--r--modules/system.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/system.module b/modules/system.module
index 03bf6dc92..dc6bc2a4b 100644
--- a/modules/system.module
+++ b/modules/system.module
@@ -24,7 +24,7 @@ function system_help_cron() {
$output .= "<p>Whenever <a href=\"". path_uri() ."cron.php\">". path_uri() ."cron.php</a> is accessed, cron will run: it checks for the jobs cron controls, and their periods in seconds. If a certain task wasn't executed in the last n seconds, where n is the period of that job, it will be executed. When all the executed commands terminate, cron is done.</p>";
$output .= "<p>The recommended way to setup your cron system is to setup a Unix/Linux crontab that frequently visits <a href=\"". path_uri() ."cron.php\">". path_uri() ."cron.php</a>. Note that cron does not guarantee the commands will be executed at the specified interval. However, Drupal will try his best and run the crons as close to the specified intervals as possible. The more you visit cron.php, the more accurate cron will be.</p>";
$output .= "<p>If your hosting company does not allow you to setup crontabs, you can always ask someone else to setup a crontab for you. After all, virtually any Unix/Linux machine with access to the internet can setup a crontab to frequently visit <a href=\"". path_uri() ."cron.php\">". path_uri() ."cron.php</a>.</p>";
- $output .= "<p>For the Unix/Linux crontab itself, use a browser like <i>lynx</i> or <i>wget</i> but make sure the process terminates: either use <code>/usr/bin/lynx -source <?php echo path_uri(); ?>cron.php</code> or <code>/usr/bin/wget -O /dev/null <?php echo path_uri(); ?>cron.php</code>. Take a look at the example scripts in the <code>scripts</code>-directory and make sure to adjust them to your needs. A good crontab-line to run the cron-script once every hour would be: <pre> 00 * * * * /home/www/drupal/scripts/cron-lynx.sh</pre>Note that it is essential to access <code>cron.php</code> using a browser; don't run it using command line PHP and avoid using <code>localhost</code> or <code>127.0.0.1</code>, or some features won't work as expected. For all the environment variables to be correct; use a browser to access <code>cron.php</code> on a publicly accessible domain.</p>";
+ $output .= "<p>For the Unix/Linux crontab itself, use a browser like <i>lynx</i> or <i>wget</i> but make sure the process terminates: either use <code>/usr/bin/lynx -source " . path_uri() . "cron.php</code> or <code>/usr/bin/wget -O /dev/null " . path_uri() ."cron.php</code>. Take a look at the example scripts in the <code>scripts</code>-directory and make sure to adjust them to your needs. A good crontab-line to run the cron-script once every hour would be: <pre> 00 * * * * /home/www/drupal/scripts/cron-lynx.sh</pre>Note that it is essential to access <code>cron.php</code> using a browser; don't run it using command line PHP and avoid using <code>localhost</code> or <code>127.0.0.1</code>, or some features won't work as expected. For all the environment variables to be correct; use a browser to access <code>cron.php</code> on a publicly accessible domain.</p>";
return $output;
}
@@ -44,8 +44,8 @@ function system_link($type) {
menu("admin/system/themes/selector", "theme selector", "system_admin", $help["themes"]);
menu("admin/system/themes/settings", "theme settings", "system_admin", $help["themes"]);
menu("admin/system/modules", "modules", NULL, $help["modules"], 2);
- menu("admin/system/modules/selector", "module selector", "system_admin", $help["modules"]);
- menu("admin/system/modules/settings", "module settings", "system_admin", $help["modules"]);
+ menu("admin/system/modules/selector", "module selector", "system_admin", $help["modules"], -1);
+ menu("admin/system/modules/settings", "module settings", "system_admin", $help["modules"], -1);
menu("admin/system/filters", "filters", "system_admin", $help["filters"], 3);
menu("admin/system/help", "help", "system_help", NULL, 9);
}