Re: schedule a task
| From: | Yura | Date: | Wed, 21 Nov 2001 17:03:30 +0000 |
| Subject: | Re: schedule a task | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75418@lists.php.net to get a copy of this message | ||
I didn't do it myself YET so you may concider my suggestion as a utopia. However the idea is to
record the date of visit of each visitor of your site and then compare last two records (last two
visits) as soon as dates are different (dd.mm.yyyy - you need to compare only dd) your database
backup starts. But of course you won't be able to do it in midnight only, it can happen in any
time.
Youri
> 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
>
>
>
<>< <>< <>< <>< God is our provider ><> ><>
><> ><>
http://www.body-builders.org