From: moodler Date: Sat, 14 Jun 2003 11:26:55 +0000 (+0000) Subject: Some info about using crontab X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2c93da8ceb2b11c1b5d8868065da4d074caccb06;p=moodle.git Some info about using crontab --- diff --git a/lang/en/docs/install.html b/lang/en/docs/install.html index f7f5c9657a..24aa2d2a2b 100644 --- a/lang/en/docs/install.html +++ b/lang/en/docs/install.html @@ -387,12 +387,16 @@ php_value post_max_size 2M

Automatically running the script every 5 minutes

-

On Unix systems: Use cron. Edit your cron settings from the commandline +

On Unix systems: Use cron. Edit your cron settings from the commandline using "crontab -e" and add a line like:

*/5 * * * * wget -q -O /dev/null http://example.com/moodle/admin/cron.php
-

On Windows systems: The simplest way is to use this little package moodle-cron-for-windows.zip +

Usually, the "crontab" command will put you into the 'vi' editor. You enter + "insert mode" by pressing "i", then type in the line as above, then exit insert mode by + pressing ESC. You save and exit by typing ":wq", or quit with saving using ":q!" (without the quotes).

+ +

On Windows systems: The simplest way is to use this little package moodle-cron-for-windows.zip which makes this whole thing very easy. You can also explore using the built-in Windows feature for "Scheduled Tasks".

On web hosts: Your web-based control panel may have a web page that allows