pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joseph Syjuco <joseph@asti.dost.gov.ph>
To: pgsql-php@postgresql.org
Subject: [Fwd: [ph-linux-newbie] help on cron]
Date: 07 Nov 2002 16:02:26 +0000
Message-ID: <1036684946.16728.6.camel@Falcon> (raw)


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

view thread (3+ messages)  latest in thread

Message-ID: <1036684946.16728.6.camel@Falcon>
Permalink:  ../1036684946.16728.6.camel@Falcon/
Also on:    postgresql.org/message-id/1036684946.16728.6.camel@Falcon

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: joseph@asti.dost.gov.ph
  Subject: Re: [Fwd: [ph-linux-newbie] help on cron]
  In-Reply-To: <1036684946.16728.6.camel@Falcon>
  References: <1036684946.16728.6.camel@Falcon>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox