Re: cron job style php...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Russel,

Yes you can run a cron job on php

You may have to add a line like this at the top, it has been awhile since I have done it]

#! /usr/local/php/sapi/cli/php

this line would be different for your system

-Randy
----- Original Message ----- From: "Russell P Jones" <rjones@xxxxxxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Sunday, January 16, 2005 6:00 PM
Subject: cron job style php...



I have written a simple script that when a date in an array matches todays
date, it sends an email (notifies me when bills are due). Any ideas on how
to make this run once a day? Can you do a cron job on a PHP prog?

Russ Jones

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux