Page 1 of 1

schedule DSEngine restart using CRON

Posted: Mon Jun 27, 2011 9:24 pm
by Sgiri1
Hi,

We have a datastage setup on a linux machine. I want to create a cron job to restart the DSEngine everyday at 6:00 pm. Can someone assist how i can schedule a DSEngine restart in unix.

Thanks
Meera

Posted: Mon Jun 27, 2011 9:27 pm
by ray.wurlod
The obvious question to ask is why?

That said there are only three steps you need to script:
(1) check that no DataStage processes are running or clients connected
(2) stop the engine then wait for a short interval (maybe 2 minutes)
(3) start the engine

Posted: Mon Jun 27, 2011 10:00 pm
by Sgiri1
Hi Ray,

We have a discipline problem in the environment. Could not control number of instances which are being abruptly shut down every day. Manual restart of the engine has become a pain now. We need a regular restart every day or once in two days.

Thanks
Meera

Posted: Tue Jun 28, 2011 12:53 am
by ray.wurlod
Get yourself a discipline management device, such as a baseball bat.