Code Comments
Programming Forum and web based access to our favorite programming groups.Only one running instance is allowed. Just one line. It uses grep and output from ps command. I dont know if this works in your system. #!/bin/tcsh ps ha|grep -v "^$$ "|grep -q "/bin/tcsh $0"&&exit #just for testing echo started... sleep 30 yocohen wrote: > Yes, I believe anything can be done. But being a Windows/Java person I > am looking for the fastest simple solution that will not take me too > much into those scripts. It already took more time than I intended.
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.