Re: schedule a task
| From: | Tyler Longren | Date: | Mon, 19 Nov 2001 20:18:14 +0000 |
| Subject: | Re: schedule a task | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75142@lists.php.net to get a copy of this message | ||
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" <a@aa.com>
To: <php-general@lists.php.net>
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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>