From: scott.marlowe <scott.marlowe@ihs.com>
To: Joseph Syjuco <joseph@asti.dost.gov.ph>
Cc: pgsql-php@postgresql.org
Subject: Re: [Fwd: [ph-linux-newbie] help on cron]
Date: Thu, 7 Nov 2002 09:52:51 -0700 (MST)
Message-ID: <Pine.LNX.4.33.0211070951560.29627-100000@css120.ihs.com> (raw)
In-Reply-To: <1036684946.16728.6.camel@Falcon>
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
<?php
script goes here
?>
Note that the /usr/local/bin part might be different on your box than on
mine.
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: scott.marlowe@ihs.com, joseph@asti.dost.gov.ph
Subject: Re: [Fwd: [ph-linux-newbie] help on cron]
In-Reply-To: <Pine.LNX.4.33.0211070951560.29627-100000@css120.ihs.com>
References: <1036684946.16728.6.camel@Falcon> <Pine.LNX.4.33.0211070951560.29627-100000@css120.ihs.com>
* 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