Omezeni spusteni procesu 2x

Martin `MJ' Mares mj na ucw.cz
Pátek Červenec 7 20:25:50 CEST 2000


Zdravim!

> mam skript, ktery se spousti v cronu kazdych 10 minut.
> Nekdy se skript provadi dele nez tech 10 minut, a spusti se 2x. Lze tomu nejak zabranit?
> Pokud je jiz proces spusten, at ho jiz nespousti?

man lockfile  # :-)

				Have a nice fortnight
-- 
Martin `MJ' Mares   <mj na ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"P.C.M.C.I.A. stands for `People Can't Memorize Computer Industry Acronyms'"


Další informace o konferenci Linux