Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Loading Web pages with Cron Jobs
September 18, 2006, 6:16 am
rate this thread
- Benjamin Niemann
September 18, 2006, 9:06 am
Re: Loading Web pages with Cron Jobs
If you have full (SSH) access to the (Linux/UNIX) server, you can use the
CGI version of PHP to run the script directly, something like a file
'man cron' will give you more details for your specific system.
The script should then either be password protected (so other people cannot
run it) or be outside of the document root.
If your access to the server is limited (e.g. shared host), you might have
some kind of (web)interface to setup cron jobs (this depends on your
If the CGI version of PHP is not available, you could also use wget/lynx/...
to run the script on the webserver, e.g.:
This will also work, if you cannot setup cronjobs on the webserver itself,
but on a machine at home/office/...
If you are talking about Windows systems... Sorry, cannot help you then.
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de /
- » need refresher course to figure out what I'm doing wrong
- — Next thread in » HTML Markup Language