I have a C program with embedded SQL in it. All it does is it kicks off from a shellScript with a particular sleep. I wanted to add a logic to the program where it doesnot allow a duplicate copy of my C program to run. to be specific on a box only one copy should run. and if someone tries to run another It should freak out with an error. Any Ideas In C coz i wanted to add that logic to the C program.
thanks in advance
logic4fun
thanks in advance
logic4fun