Second question first:
Code:
0 1 * * * /path/to/build_links.sh
- - - - - -------------------------------
| | | | | |_ command to execute
| | | | |_________ day of week
| | | |___________ month of year
| | |_____________ day of month
| |_______________ hour of day
|_________________ minute of hour
As written, the event will run at 1 a.m. each day. The asterisks (*) indicate null (no setting).
3. Once that file is uploaded in your root directory, issue the command:
crontab mycron.txt If all goes well, that will load the event into the cron table. You can ensure it is there by issuing the command:
crontab -l If the event is loaded, it will list. If it does not list, then you will need to contact your system admin for instructions on how to load a cron event on your system.
If it loaded, you are all set to go. It should run at the scheduled times.
I hope this helps.
[This message has been edited by Bobsie (edited May 02, 1999).]