
- Forum
- Operating Systems
- Shell Programming
- How to Schedule My Script
How to Schedule My Script
This is a discussion on How to Schedule My Script within the Shell Programming forums, part of the Operating Systems category; I have written my small shell script to take care of administration tasks. I want to run this script every ...
-
How to Schedule My Script
I have written my small shell script to take care of administration tasks. I want to run this script every two hours without my intervention so that the command written in my script does the processes every two hours and manage the administration as specified by me inside the script. How can I incorporate this inside my shell script itself. Kindly help me to finish this process.
-
06-12-2007, 10:49 AM #2
- Join Date
- Jun 2007
- Answers
- 8
Auto scheduler
In UNIX one utility is there for auto run (scheduler) withoput manual intrupt and with specified time duration.
cron has five parameters
min
hour
month of the year
day of the month
day of the week
00 1,3,5,7,9,11,13,15,17,19,21,13 * * * /cd $Script_path/sample.ksh > &2
where sample.ksh is the shell script and all the error process will go to the error file if any error will occure while processing the script.
Regards,
Siva.P
bangalore

Reply With Quote





