Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id BF277476F96 for ; Thu, 7 Nov 2002 12:31:07 -0500 (EST) Received: from mail1.ihs.com (mail1.ihs.com [170.207.70.222]) by postgresql.org (Postfix) with ESMTP id BB483476E92 for ; Thu, 7 Nov 2002 12:21:31 -0500 (EST) Received: from css120.ihs.com (css120.ihs.com [170.207.105.120]) by mail1.ihs.com (8.12.6/8.12.6) with ESMTP id gA7H3ETH024540; Thu, 7 Nov 2002 10:03:14 -0700 (MST) Date: Thu, 7 Nov 2002 09:52:51 -0700 (MST) From: "scott.marlowe" To: Joseph Syjuco Cc: Subject: Re: [Fwd: [ph-linux-newbie] help on cron] In-Reply-To: <1036684946.16728.6.camel@Falcon> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MailBodyFilter: Message body has not been filtered X-MailScanner: Found to be clean X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/29 X-Sequence-Number: 1611 On 7 Nov 2002, Joseph Syjuco wrote: > worked but when i put it in crontab > * * * * * php /usr/local/apache/htdocs/xxx.php > it didnt work ... it didnt spew any errors ... just did nothing Try editing your php script so the first line looks something like this: #!/usr/local/bin/php -q Note that the /usr/local/bin part might be different on your box than on mine.