![]() |
how execute/visit a site using the cron daemon?
hi,
i need to execute/visit a site to check if the site is up or not i have a server that have cron shedule that can execute a php file now how can i execute/visite a site using the same way as i execute a file? thanks a lot for your help Edit/Delete Message |
Re: how execute/visit a site using the cron daemon?
There are certainly many ways, but using the "wget" command may be the easiest. It's available in one of the built-in repositories (Extras, maybe?).
|
Re: how execute/visit a site using the cron daemon?
I have no idea what you're asking, but the beginning of your post makes me wonder if this wouldn't be helpful:
http://downforeveryoneorjustme.com/ |
Re: how execute/visit a site using the cron daemon?
What I got from the post is that you want to open a web browser and go to a certain website using cron. This can be accomplished using the command:
Code:
browser --url "(URL goes here)" |
Re: how execute/visit a site using the cron daemon?
hi,
my question is that: the site have a script that run only with the correct url "index.php?etc&etc" and when i visit the site with that url the site perform maintense of the content and send emails to the users etc so i don´t want do this manualy or see if the site is online or not i just want a way to enter in cron job to visit a site as same way google agent visit or as any single person visit i have see the wget but so far i he dont does want i want probaly because i not using the correct command sintax :mad: so is this that i need a way to the cron job visit the url just that:) |
Re: how execute/visit a site using the cron daemon?
Are you just monitoring a web site? If so, could you do something like this:
http://pixelseventy2.net/pixel/Shell...teMonitor.page |
Re: how execute/visit a site using the cron daemon?
hi,
i´ not monitoring the site i just want that cron job visit the correct url: index.php?etc&etc just that:) |
Re: how execute/visit a site using the cron daemon?
Then the command you're looking for is:
Code:
wget -q -O /dev/null (WEBSITE HERE) |
All times are GMT. The time now is 12:07. |
vBulletin® Version 3.8.8