monit-general
[Top][All Lists]
Advanced

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

Re: Stop/Start happening simultaneously


From: Aleksander
Subject: Re: Stop/Start happening simultaneously
Date: Fri, 30 Mar 2007 12:56:27 +0300
User-agent: Thunderbird 1.5.0.9 (X11/20070102)

Cyrus Mehta wrote:
Can I get away with:
      start = "sleep 60 && /mycompany/script/runService.sh schedserver
start "
or do I have to do the following:
      start = "bash -c 'sleep 60 && /mycompany/script/runService.sh
schedserver start' "

I guess, haven't tried, that both work. Although just in case I'd give the full path to sleep, like /bin/sleep.

Alex




reply via email to

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