Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 9ECD24776E7 for ; Thu, 7 Nov 2002 10:02:52 -0500 (EST) Received: from beth.uniforum.org.za (beth.coza.net.za [206.223.136.193]) by postgresql.org (Postfix) with ESMTP id 78D80476DFA for ; Thu, 7 Nov 2002 09:55:35 -0500 (EST) Received: from beth.uniforum.org.za (mixo.coza.net.za [206.223.136.225]) by beth.uniforum.org.za (8.11.6/8.11.2) with ESMTP id gA7EsoZ12118; Thu, 7 Nov 2002 16:54:50 +0200 Message-ID: <3DCA7E77.6070004@beth.uniforum.org.za> Date: Thu, 07 Nov 2002 16:53:43 +0200 From: mixo User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020827 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joseph Syjuco Cc: pgsql-php@postgresql.org Subject: Re: [Fwd: [ph-linux-newbie] help on cron] References: <1036684946.16728.6.camel@Falcon> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/27 X-Sequence-Number: 1609 try : * * * * * /path/to/php -i /usr/local/apache/htdocs/xxx.php Joseph Syjuco wrote: > > > > ------------------------------------------------------------------------ > > Subject: > [ph-linux-newbie] help on cron > From: > Joseph Syjuco > Date: > 07 Nov 2002 15:58:12 +0000 > To: > ph-linux-newbie@lists.q-linux.com > > >id like to execute a php file automatically during certain periods of >time so what i did i installed php-cgi (which allows me to execute php >using cmd php ). Ive finished my php script, tried it and it >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 >in order to verify if cron is working properly i added a new entry >* * * * * rm /home/postgres/test.txt >when i inspected the results ... 2nd script worked (rm) but not the php >script >any ideas whats wrong? >path of script is ok and path is working when i execute it in command >line >TIA >joseph > > > >_______________________________________________ >ph-linux-newbie mailing list >http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie >plug website http://plug.linux.org.ph >to unsubscribe, send 'unsubscribe' to ph-linux-newbie-request@lists.q-linux.com > > >------------------------------------------------------------------------ > > >---------------------------(end of broadcast)--------------------------- >TIP 4: Don't 'kill -9' the postmaster > >