Skip to content

How to ping a web site periodically

How to ping a web site periodically

Answer:

1. Setup a cron job

crontab -e

2. Enter the job detail as following

1 * * * * /usr/bin/wget -O - -q -t 1 http://www.example.com/cron.php

3. Fine tune the crontab configurations if needed.

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  1. Mirror a web site using wget
  2. How to resume a partially-downloaded file using wget
  3. What does the run-parts mean in crontab?
  4. Setup default system timezone in Linux
  5. Meaning of 2>&1 in crontab

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*