Scheduled Downtime via Cron

nagios at acmecargo.com nagios at acmecargo.com
Wed Jan 7 00:01:44 CET 2004


None that I can see in the script. I simply did a wget from the web page 
it's hosted on so it should be in it's original format.

Dylan

At 05:01 PM 1/6/2004, you wrote:
>On Mon, Jan 05, 2004 at 06:13:41PM -0500, nagios at acmecargo.com wrote:
> > [root at host]# /usr/local/nagios/libexec/schedule_host_downtime host "`date
> > --iso-8601` 05:00:00" "`date --iso-8601` 06:00:00" 1 3600 cron "scheduled
> > maintenance"
> > : bad interpreter: No such file or directoryst_downtime: /bin/sh
>
>Maybe you should check both, the script and your crontab with cat -A
>for dubious whitespaces.
>
>    ciao
>       Jörg
>
>--
>Joerg Mayer                                           <jmayer at loplof.de>
>We are stuck with technology when what we really want is just stuff that
>works. Some say that should read Microsoft instead of technology.




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list