![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| crontab entry | udelalv | AIX | 2 | 02-26-2009 08:55 PM |
| crontab is not creating runtime files which are in script.. | surekha268 | Shell Programming and Scripting | 6 | 09-02-2008 10:14 AM |
| crontab entry | Sowser | UNIX for Advanced & Expert Users | 4 | 01-08-2007 05:34 PM |
| Crontab entry | bestbuyernc | Shell Programming and Scripting | 1 | 09-12-2005 04:13 PM |
| crontab entry | matrixmadhan | UNIX for Dummies Questions & Answers | 3 | 06-07-2005 09:57 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
runtime crontab entry
Hi,
I have a query. When I execute a shell script say sh1.ksh, at the run time I need to put another shell script say sh2.ksh in the crontab with the parameter which we provided to sh1.ksh script, to execute sh2.ksh on the background for doing process. Also the cron entry needs to be removed after the script finishes its jobs. How do we put a file in the crontab with parameter and remove the entry from crontab dynamically? Ex: - ./sh1.ksh <parameter1-name> <parameter2-name> In crontab the script should look like this: 5 * * * * sh2.ksh <parameter1-name> <parameter2-name> Thanks in adv. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|