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)
- Re: [SQL] a script that queries database periodically Brett W. McCoy
- Re: [SQL] a script that queries database periodically Mathijs Brands
- Re: [SQL] a script that queries database periodically Serge Canizares
- Re: [SQL] a script that queries database periodically Poul L. Christiansen
- Re: [SQL] a script that queries database periodi... Roberto Mello
- Re: [PHP-DB] Re: [SQL] a script that queries... Jason
- Re: [PHP-DB] Re: [SQL] a script that que... Roberto Mello
- Re: [PHP] Re: [PHP-DB] Re: [SQL] a s... Joe Stump
- Re: [PHP-DB] Re: [SQL] a script that... clayton cottingham
- Re: [GENERAL] Re: [PHP-DB] Re: [SQL]... Dan Wilson
- RE: [SQL] a script that queries database periodi... Mathijs Brands
- RE: [SQL] a script that queries database periodically Wojciech Milek
- [SQL] Re: [PHP] a script that queries database period... Jason
- Re: [GENERAL] Re: [PHP] a script that queries da... Miles Thompson
- [SQL] Re: [PHP] a script that queries database period... Folke Ashberg