Reply to How to determine if a script instance is already running?

Your name:

Reply:


Posted by Jim Moseby on 08/02/05 16:49

I have a command line script that needs to run continuously, and so I plan
to have cron execute it every so often. I want to have the script first
check to see if another instance is already running and, if so, die().

Now, I know I can exec the process list and parse through the output, but is
there and easier, faster, cooler, sexier, better way? :o)

JM

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация