No still ain't workin'
Pffft ,has anybody used a shell script as an alert before ( in daemon-mode
) ?
Otherwise i ll start mon as a program, not as a daemon, or are there
reasons not to do so?

thanks


sms.alert:


#!/bin/bash

export
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

/bin/echo "servers down test" | /usr/bin/gammu --sendsms TEXT 0653638072



Jim Trocki :


if it works when you do "-d -f" then from that shell do

echo $PATH

and put that path at the top of your bash script, e.g.

#!/usr/bin/bash

export PATH=/bin:/usr/bin:....whatever



_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to