Re: crontab and php

From: Date: Wed, 16 Apr 2003 07:52:34 +0000
Subject: Re: crontab and php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-144077@lists.php.net to get a copy of this message
it should work fine... Another solution is to put in crontab something like wget --spider http://www.yoursite/maint.php and run it at 12am every day.. Alex ----- Original Message ----- From: "Prince" <friendly@kaltelnet.net> To: "PHP mailing list" <php-general@lists.php.net> Sent: Wednesday, April 16, 2003 7:21 AM Subject: [PHP] crontab and php > hi... > > i have a script called maint.php it is written just like any normal php > script: > > <?php > //php code here > > ?> > if i tell crontab to run: php maint.php at 12am every day will it work the > way it supposed to or will it not work very well? if there are any mods to > the file what should they be? > if you need the real contents of the file i can put it here... > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#144077) next »