if you are going to use a cron job and you haven't got 'php as CGI' then
use something like below and save it in your crod_daily or hourly
#! /bin/sh
wget -q -c http://my.domain/phpfile.php3 > /dev/null
Ajdin
On Thu, 5 Jul 2001, Marty Landman wrote:
> At 08:41 am 7/5/01 -0700, Oliver Hotz wro
On 05-Jul-01 Oliver Hotz wrote:
> Hey guys, I have a php script that generates files, and a www page that
> links to them.
>
> Is there a way to delete those files, based on a time variable ?..
>
> lets say 1 minute after they have been generated, they get deleted ?
>
man find
(check for the
At 08:41 am 7/5/01 -0700, Oliver Hotz wrote:
>Hey guys, I have a php script that generates files, and a www page that
>links to them.
>
>Is there a way to delete those files, based on a time variable ?..
Why not have cron kick off a script every minute that checks all candidate
files and deletes
Hey guys, I have a php script that generates files, and a www page that
links to them.
Is there a way to delete those files, based on a time variable ?..
lets say 1 minute after they have been generated, they get deleted ?
(this is on redhat linux, and the latest build of php/apache 1.3)
Thank
4 matches
Mail list logo