Checking an existing instance of a process

2002-02-01 Thread Taylor, Dan
What is the most cautious way to see if I am already running an instance of a program and kill that said process? I'm setting up a shell that will be launched from a cronjob and want to make sure that if there was an instance of the same process running, that it was killed up front, before continu

RE: question about CRON

2002-01-24 Thread Taylor, Dan
Wouldn't: exec sleep 300 do what you want? -Original Message- From: Roger Morris [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 24, 2002 6:43 PM To: Johnson, Shaunn; [EMAIL PROTECTED] Subject: RE: question about CRON At 05:56 PM 1/24/2002 -0500, you wrote: >--you could run a script