[LUGOS] Software
xrado
xrado at email.si
Wed Apr 6 09:34:21 CEST 2005
popravek... brez "done" na koncu in z "#!/bin/sh" na zacetku :-)
xrado wrote:
> to lahko resis s bash skripto v crontau npr...
>
> if ping -c 1 -w 1 $ip >/dev/null
> then
> echo "Server je online"
> else
> echo "Server je offline" | mail -s "subject" tvojmail at mail.com
> fi
> done
>
> ps. nisem prveril ce dela
> LP
> Rado
>
> Dalibor wrote:
>
>> Potrebujem software, ki bo znal npr. pingati nek server in ob
>> neuspelem pingu poslati mail. Moral bo imeti zgodovino dogodkov, ...
>>
>> lp
>> Dalibor
>> _______________________________________________
>> lugos-list mailing list
>> lugos-list at lugos.si
>> http://liste2.lugos.si/cgi-bin/mailman/listinfo/lugos-list
>>
>
> _______________________________________________
> lugos-list mailing list
> lugos-list at lugos.si
> http://liste2.lugos.si/cgi-bin/mailman/listinfo/lugos-list
>
More information about the lugos-list
mailing list