Hi friends, When I connect to net through a modem, I can check whether ppp0 is active or not using ifconfig command so that it will list the status of ppp0.
My problem is I had set a command in crontab as follows. lynx -dump www.lcnet.com/update.php (A module to update the web mysql database) Above script has to work and update only if ppp0 is active. How can I check whether ppp0 is active (A script has to check and then if the status is true, update.php module has to execute). Please suggest me how to go about. I had put six to seven commands in a batch file and the batch file name is given in crontab. I am using wvdialer to connect to net and it redials if connection disconnects and if I specify the dialing command "wvdial redial" in the batchfile, then the subsequent commands in the batch file are not executing. If I specify the dialing and other command seperately, it is working fine. Regards, Vinod. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
