ok, i read a lot about setting paths in your bash profile but that isn't
what you mean i think,
a daemon is already active without a user logged in?

but when i look at my script i specify the path to gammu in the second
line :
that should be enough or am i thinking the wrong way? 


#!/usr/bin/bash

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




>
>
> yes, now it works,
>
> but if i start mon as daemon ,eg /etc/init.d/mon start
> it doesn't work....




it's probably your environment. be more explicit with the paths to the
programs you call from your alert script by either setting a path at
the top of the script or by specifying the full path to each.

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

Reply via email to