Re: [Fwd: [ph-linux-newbie] help on cron] - Mailing list pgsql-php

From mixo
Subject Re: [Fwd: [ph-linux-newbie] help on cron]
Date
Msg-id 3DCA7E77.6070004@beth.uniforum.org.za
Whole thread Raw
In response to [Fwd: [ph-linux-newbie] help on cron]  (Joseph Syjuco <joseph@asti.dost.gov.ph>)
List pgsql-php
try :

* * * * * /path/to/php -i /usr/local/apache/htdocs/xxx.php


Joseph Syjuco wrote:

>
>
>
> ------------------------------------------------------------------------
>
> Subject:
> [ph-linux-newbie] help on cron
> From:
> Joseph Syjuco <joseph@asti.dost.gov.ph>
> 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 <php file>).  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
>
>




pgsql-php by date:

Previous
From: "Michael Upchurch"
Date:
Subject: Re: Spaawn another process
Next
From: "scott.marlowe"
Date:
Subject: Re: Can't seem to get Psql and Exec to work together