on 12-20-2006 4:00 AM
I need to run a UNIX SHELL script on daily basis.Could you please tell me the procedure .
u can use crontab for firing automatic shell script without any intervation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
-> what kind of shell script?
on a daily basis...run (as root) crontab -e, edit the appropriate command and save your input...
example:
00 04 * * 1-7 su - ora<sid> -c "brconnect -u / -c -f stats -t ALL -p 4" 1>/dev/null 2>/dev/null
00 = minutes
04 = hour
= month
= year
1-7 = days of the week (eg. monday till sunday)
this command would do a brconnect ... each day at 4:00 clock in the morning, each month (= *) and each year (= *)...
GreetZ, AH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.