Set up a crontab that uses wget to hit that page everyday at midnight.

You should use the flag in wget that tells it to delete the page that it
downloads.  I use that method sometimes.

Tyler

----- Original Message -----
From: "Gab" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 19, 2001 2:15 PM
Subject: [PHP] schedule a task


> Hi,
>
> I have a form (POST method), that creates a back-up of a MySQL database as
> an SQL file when submited. I am looking for a way to automate this task
(ie
> on a daily basis at midnight).
> Any idea on how to do it in PHP? (if it is possible)
>
> Thanks
>
> Gab
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to