Portal Home > Knowledgebase > Articles Database > CronJob For Refresh


CronJob For Refresh




Posted by gozargah, 04-17-2010, 06:11 PM
I need to refresh one of my monitoring website every 5min. Its same as: http://mysite.com/robot.asp?cid=w How can do that with linux cronjob? Help me please.

Posted by gozargah, 04-18-2010, 02:40 AM
Any idea?!

Posted by tuxg, 04-18-2010, 08:30 AM
what do you mean by refresh?

Posted by gozargah, 04-18-2010, 08:42 AM
Thank you for your reply. Its mean visit "http://mysite.com/robot.asp?cid=w" every 5min.

Posted by tuxg, 04-18-2010, 08:50 AM
Try this (not tested): */5 * * * * /usr/bin/wget http://mysite.com/robot.asp?cid=w 1>/dev/null 2>&1 Add this as a cron job, by running crontab -e. And check out if it works.

Posted by gozargah, 04-18-2010, 09:19 AM
Great! Thats work fine ...



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
DedicatedNow Down? (Views: 617)