Moodle Cron Ver 1.01 24/8/2004
True Win32 service application to execute website fetches necessary for the Moodle Cron jobs.
Free for use by Moodle users, the source is available for Delphi 7 if you want it. See Licence.txt for info.
* Usual disclaimer...I'm not responsible for it stuffing anything, but I use it successfully on my sites.
Installation:
*** You need to have Administrative rights on the computer to instal this software.
1) Copy "MoodleCron.exe" to any folder on your server. I recommend your 'Windows\system32' or program files" folder but it's not critical.
2) Go "Start" & "Run", locate the MoodleCron.exe file. Use the
command line option /install to install the service.
i.e: "c:\windows\system32\MoodleCron.exe /install"
n.b. You can use the same method but with the /uninstall option
to remove the service.
3) The service will now ask you for information on:
a) Do you want to enable Event logging (System Application log)
b) Page visit interval in minutes.
c) Sites to visit (Full url), add one at a time. You will be prompted for more.
4) Start the "MoodleCron" service.......
Install Options:
These can be edited any time by using regedit and going to the locations below, but if this scares you just uninstall the service and re-run the
"c:\windows\system32\MoodleCron.exe /install"
command to reinput the options.
n.b. If you use regedit you will need to restart the service to refresh the values.
[HKEY_LOCAL_MACHINE\SOFTWARE\Moodle]
"Logging"=dword:00000000 This turn on and off the eventlog (1=on)
"Interval"=dword:0000000a This sets the interval in minutes (0xa = 10 minutes)
[HKEY_LOCAL_MACHINE\SOFTWARE\Moodle\Sites]
"1"="http://localhost/moodle/admin/cron.php"
"2"="http://localhost/admin/cron.php"
Use the above to specify the sites/pages you wish to visit. I've tested it with 2-3 but depending on the interval it should cope with more, just continue adding entries in this key.
Contact/Comments/Bugs:
Peter Honan
Brauer College
peterho@brauer.vic.edu.au


