Home » Infrastructure » Unix » Crontab entry on runtine (HP-Unix)
Crontab entry on runtine [message #410433] Sat, 27 June 2009 00:10 Go to next message
Messages: 32
Registered: March 2005
Hi Experts,

I have a query.

When I execute a shell script sh1.ksh, at the run time I need to put another shell script sh2.ksh in the crontab from the parent script (sh1.ksh) with the parameter which we provided to sh1.ksh script, to execute sh2.ksh on the background for doing process. And the cron entry also needs to be removed for that file 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 Crontabs the script should look like this: '5 * * * * sh2.ksh <parameter1-name> <parameter2-name>'

Thanks in adv.
Re: Crontab entry on runtine [message #410442 is a reply to message #410433] Sat, 27 June 2009 01:10 Go to previous message
Michel Cadot
Messages: 64455
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
This question bears no connection with Oracle.
Please find a more appropriate forum.
The topic is locked.

Previous Topic: missing select keyword on executing .sql from unix
Next Topic: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
Goto Forum:

Current Time: Fri Feb 24 09:07:26 CST 2017

Total time taken to generate the page: 0.09677 seconds