monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Run something once


From: EzCom Keith
Subject: Re: Run something once
Date: Fri, 17 Dec 2010 05:32:10 -0800

On Fri, Dec 17, 2010 at 4:24 AM, Andrew Holt <address@hidden> wrote:

Hi,

I have a script that I want to run once, but only if a service it depends upon is running

So if service scd is running then execute a script (e.g. /usr/local/bin/tst.sh ) once only, not every 'scan' time.

Any ideas ?

Thanks,
Andrew


=============================
Andrew Holt

Email: address@hidden

De Omnibus Dubitandum
=============================




--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
 
When you say "once", I get it... you don't want the script run every scan cycle of Monit, but
when is that script run "once"? Is it once a day? Once at startup? Once when you feel like
it (manual)? This might be overkill for Monit, and a better solution available.
 
- Keith

reply via email to

[Prev in Thread] Current Thread [Next in Thread]