Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
could you solve that?
Name: amigo28 Date: February 12, 2007 at 04:47:31 Pacific OS: s CPU/Ram: 1 Product: 1
Comment:
Hello! I have a problem and I think you can help me. The problem is to write an application which periodical verify if a website is active. The list of websites will be read from a configuration file. You will determine the situations that a wetsite change from active to inactive or from inactive to active. In that case you will send an email to an email adress specified in configuration file. To verify if a website is active, you can use the HTTP protocol. That's all. I hope you will help me with that. Thanks a lot and have a nice day.
Name: rais Date: February 13, 2007 at 08:23:49 Pacific
Reply:
You can write a socket program to do a simple tcp check. Alternately, for HTTP you can make a GET request against the web-page. You can use PERL for this.
Summary: It looks like your log file has only HH:MM:SS. If the log file spans multiple days, hard to tell if an entry is 30 minutes old or n days and 30 minutes old. In attempt to solve that problem, I proce...
Summary: This is an interesting problem. I don't think there is a unix tool that will easily solve your problem. Since you said that your number of delimiters could up to be 30, I placed the delimiters into ...