View Single Post
  #2 (permalink)  
Old 01-04-04, 13:20
fla5do fla5do is offline
Registered User
 
Join Date: Oct 2003
Location: Germany
Posts: 138
Hi,
I dont know how to use crontab exactly on AIX. But I think it is realy the same as SCO Unix.

unload your crontab by using "crontab -l > mycron"
Now edit the file mycron and append following row.
30 1 * * 1 /usr/myProc/procSample.sql
It means : execute the procSample.sql every Monday at 1:30 .

Now save the file and load the crontab with the command
"crontab mycron" on Unix Shell.

Check the effect by typing "crontab -l" again.

Remember that there is no empty row at the end of your mycron file.
Otherwise an error occur.

More help you will get by typing "man crontab" on your AIX-Unix Shell.
__________________
Greetings from germany
Peter F.

Last edited by fla5do; 01-04-04 at 13:37.
Reply With Quote