Script - help wanted

George A. Michalopoulos gmich at sae.gr
Tue Jun 22 12:49:05 EEST 1999


Geia xara se olous,

8elw na kanw ena scriptaki pou na to balw na trexei se cron, kai na kanei ta
ekshs:
na trexei to /sbin/ifconfig kai na blepei ean to interface einai up.
ean einai down, na mou stelnei ena mail.

skefthka na kanw /sbin/ifconfig ppp0 | grep DOWN > epese.txt

kai meta me kapoio tropo na elegjv ean to epese.txt einai mhdenikou
mege9ous, kai ean den einai, na mou steilei mail.


kammia protash ?


--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/archives
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================



More information about the Linux-greek-users mailing list