Re: cron job style php...
| From: | Randy Johnson | Date: | Sun, 16 Jan 2005 23:20:28 +0000 |
| Subject: | Re: cron job style php... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-206493@lists.php.net to get a copy of this message | ||
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@email.unc.edu>
To: <php-general@lists.php.net>
Sent: Sunday, January 16, 2005 6:00 PM
Subject: [PHP] 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