Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Jan 022010
 

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.

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>