Re: PHP Cron jobs

From: Date: Sat, 27 Jan 2001 19:42:31 +0000
Subject: Re: PHP Cron jobs
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-37009@lists.php.net to get a copy of this message
"James Mclean" <jamesmc@tne.net.au> wrote... > i do not have access to the cron system on my server, but > would like to write a script that does some general housekeeping > on my database, and various other things like removing old users, > sending some newsletters etc... What about putting the script in a regular PHP web page. Then you can call up that page from any machine on the planet and the housekeeping functions will be performed right then. So you could set up a cron job (or whatever) on a machine you _do_ have admin access to, to simply call up the housekeeping page on a regular basis. And you could use some basic authentication to make sure the general public does not call up this page if that is important to you, e.g. check the client IP address.

« previous php.general (#37009) next »