Re: Automated tasks with PHP
| From: | Julia A . Case | Date: | Fri, 17 Nov 2000 18:33:24 +0000 |
| Subject: | Re: Automated tasks with PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25941@lists.php.net to get a copy of this message | ||
Quoting rodrigo (rodrigo@shreve.net):
> I would like to, say, run a backup script done in PHP (of course) that
> executes itself periodically. For example, every night at midnight I
> would like it to run itself and make a backup of the entire database and
> mail the compressed files to a certain email adddress.
>
> Is this possible?
> --
Do you have PHP compiled as a cgi-bin? you could just call it with the
PHP script... If you have it compiled in as an object you should be able
to call lynx with the URL of the script.
Hope that helps,
Julie
--
[ Julia Anne Case ] [ Ships are safe inside the harbor, ]
[Programmer at large] [ but is that what ships are really for. ]
[ Admining Linux ] [ To thine own self be true. ]
[ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ]