Unix
Cron-w3perl.pl have been introduced to avoid lots of lines in your crontab
and it will compute the scripts in the right order. So just use this one
please.
You should have permission to execute cron commands (ask your administration system if you can't). Use telnet to connect and type the command 'crontab -e' to edit your crontab. A editor should then be available.
Write the full pathname for the files to run.
You only have to add this line in your crontab :
- standard :
01 00 * * * /<full_path>/w3perl/cron-w3perl.pl -e > /dev/null
- to load a configuration file :
01 00 * * * /<full_path>/w3perl/cron-w3perl.pl -e -c /<full_path>/w3perl/config-oj.pl > /dev/null
- hourly update :
01 * * * * /<full_path>/w3perl/cron-w3perl.pl > /dev/null
Then check via 'crontab -l' your entry is valid.
- Redirection to /dev/null is used to cancel messages report. Delete it if you
want to get a report from the crontab.
- The '-e' is here to launch all scripts in an incremental way to save CPU. You
only need to launch this script ONCE a day if you're using this flag.
- If you need more stats update (once every hour), just add cron-w3perl.pl
without any flag (except the '-c' flag if you need to load a specific
configuration file). Default should be ok for most people but if you need
more control, edit the script, you'll be able to specify when each script
will be run.