PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: blackwings on 15 January, 2005, 20:22:59

Title: site pinger 4 times per hour
Post by: blackwings on 15 January, 2005, 20:22:59
Can anyone make a script that ping a website every 15 minutes, for example ping www.sunet.se every 15 mintes. If it can't ping the site, it will send a message to me.
Title:
Post by: Herodes on 16 January, 2005, 00:44:45
pinging is for checking if the host(ip) is alive .. if you want to check if a site is there you'll prolly need to check if you can get html protocol data from the port that the site is running on .. ( usually 80 )
Title:
Post by: blackwings on 16 January, 2005, 01:02:16
QuoteOriginally posted by Herodes
pinging is for checking if the host(ip) is alive .. if you want to check if a site is there you'll prolly need to check if you can get html protocol data from the port that the site is running on .. ( usually 80 )
I had in mind that  it would be a way tp notify me if my internet goes down. I have in DC made so it make a sound each time it recieve a message. So if I'm doing something else, watching TV, playing a game or sleeping, I will get alerted by DC when it goes down