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 ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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.
|
|
|||
|
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 |
![]() |
| Thread Tools | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Request for interview question for Testing (QA) | wildkid98 | Testing Tutorials | 17 | 04-23-2008 05:24 AM |
| Tutorial on Silk Test | spriya279 | Testing Tutorials | 2 | 02-15-2007 07:31 PM |
| Unix - Frequently Asked Questions (3/7) [Frequent posting] | Ted Timar | Tech FAQ | 0 | 05-11-2004 07:50 AM |
| Unix - Frequently Asked Questions (4/7) [Frequent posting] | Ted Timar | Tech FAQ | 0 | 05-03-2004 07:54 AM |
| [FAQ] FileMaker Pro - database for Macintosh and Windows | Martin Trautmann | Tech FAQ | 0 | 04-17-2004 08:26 AM |