Jump to content

Check internet connection


This topic is 6585 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Have a script attached to a button that deletes all found records in a table conatining rss news headers and descriptions and then runs an rss feed update to import to the table again.

Is there a script that will check for an internet connection before deleting the records?

(So if it fails i can run a custom dialog "Internet connection needed to update rss" and the existing items wont get deleted)

Link to comment
Share on other sites

Just tossing out a possibility;

You could ping www.yahoo.com using the free plugin called SHELL. Then using the Patten Count function check for the existence of "Reply from".

You could also do it without the shell plugin but there would be more steps involved.

Link to comment
Share on other sites

This topic is 6585 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.