Re: [SQL] a script that queries database periodically - Mailing list pgsql-general

From Mathijs Brands
Subject Re: [SQL] a script that queries database periodically
Date
Msg-id 20001128000625.B60768@ilse.nl
Whole thread Raw
In response to Re: [SQL] a script that queries database periodically  ("Poul L. Christiansen" <poulc@cs.auc.dk>)
List pgsql-general
On Mon, Nov 27, 2000 at 10:44:39PM +0100, Poul L. Christiansen allegedly wrote:
> I have a bash script in crontab with the following line:
> "lynx -dump
> http://127.0.0.1/postgres/myPhpFile.php>${currentDir}php_output.html"
>
> You can also just put that line directly into crontab.
>
> Poul L. Christiansen

Be sure to redirect the output of the command in your crontab to /dev/null
or something similar. If you don't, the output (HTML) will be emailed to
you each time the script is run. Whether this side effect is desirable is
of course up to you (or your boss, for instance).

Getting even more off-topic,

Mathijs
--
"Where is human nature so weak as in a bookstore!"
        Henry Ward Beecher  (1813-1887)

pgsql-general by date:

Previous
From: Kenneth Been
Date:
Subject: large tuple
Next
From: Franck Martin
Date:
Subject: postgresql and Mandrake: no gist support?