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

From scott.marlowe
Subject Re: [Fwd: [ph-linux-newbie] help on cron]
Date
Msg-id Pine.LNX.4.33.0211070951560.29627-100000@css120.ihs.com
Whole thread Raw
In response to [Fwd: [ph-linux-newbie] help on cron]  (Joseph Syjuco <joseph@asti.dost.gov.ph>)
List pgsql-php
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.


pgsql-php by date:

Previous
From: "scott.marlowe"
Date:
Subject: Re: Can't seem to get Psql and Exec to work together
Next
From: "Zhidian Du"
Date:
Subject: Are these steps correct and standard way to upload images into a table?