On Thu, May 04, 2006 at 05:59:42PM +0300, Aarni Ruuhimäki wrote:
> > > My current platform is FC2 / PostgreSQL 8.0.2 and the stock report
> > > application is in php.
> > Probably cron. Write a script to call the function, then have cron call
> > it at appropriate times.
> Yes, I thought so. What would the syntax of such a script ?
why don't you reuse your logic from php, you have already implemented
(config for the connection, maybe more). install the php-cli (if not
already there with your install) and write the stuff to do in php - then
call that script with cron.
--
cu