Re: [SQL] a script that queries database periodically

Поиск
Список
Период
Сортировка
От Mathijs Brands
Тема Re: [SQL] a script that queries database periodically
Дата
Msg-id 20001128000625.B60768@ilse.nl
обсуждение исходный текст
Ответ на Re: [SQL] a script that queries database periodically  ("Poul L. Christiansen" <poulc@cs.auc.dk>)
Список 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 по дате отправления:

Предыдущее
От: Kenneth Been
Дата:
Сообщение: large tuple
Следующее
От: Franck Martin
Дата:
Сообщение: postgresql and Mandrake: no gist support?