[Cialug] Cron PHP job

Aaron Porter atporter at gmail.com
Thu Sep 28 16:16:43 CDT 2006


On 9/28/06, dave at usalug.org <dave at usalug.org> wrote:
> I thought to use php and cron you needed to use wget/curl/apache .....
>
> something like
>
> 0 4 * * 1,2,3,4,5 wget http://www.myurl.com/nightlybackup.php

Nope, like most interpreters out there you can #!/usr/bin/php4 at the
start of your script or just /usr/bin/php4 <script.php>


More information about the Cialug mailing list