Re: executing php scripts via cron
| From: | Clifford W. Hansen | Date: | Tue, 18 May 2004 07:54:09 +0000 |
| Subject: | Re: executing php scripts via cron | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186457@lists.php.net to get a copy of this message | ||
Merlin,
> 0 6 * * * php /home/www/project/app_cron/follow_up_new_members.php > /dev/
null
That looks right to me, have you tried executing the command with the full
path?
I have a couple of php scripts running as cron jobs and web scripts...
Also try "php -q scriptname" -q is for quiet which suppresses the html headers
--
Thank You,
Clifford W. Hansen
Operations Support Developer
Aspivia (Pty) Ltd.
+27 (0) 11 259-1150 (Switchboard)
+27 (0) 11 259-1019 (Fax)
+27 (0) 83 761-0240 (Mobile)
chansen@aspivia.com (EMail)
http://chansen.aspivia.com (Web)
"We have seen strange things today!" Luke 5:26
This message contains information intended for the perusal, and/or use (if so
stated), of the stated addressee(s) only. The information is confidential and
privileged. If you are not an intended recipient, do not peruse, use,
disseminate, distribute, copy or in any manner rely upon the information
contained in this message (directly or indirectly). The sender and/or the
entity represented by the sender shall not be held accountable in the event
that this prohibition is disregarded.
If you receive this message in error, notify the sender immediately by e-mail,
fax or telephone and return and/or destroy the original message.
The views or representations contained in this message, whether express or
implied, are those of the sender only, unless that sender expressly states
them to be the views or representations of an entity or person, who shall be
named by the sender and who the sender shall state to represent. No liability
shall otherwise attach to any other entity or person.