[SQL] Call a external app on postgreSQL start-up (windows)

2011-12-27 Thread Maurício Cruz
Hi all, I need to execute some rotines on windows every time that postgreSQL is start at the server machine, I was thinking to create a PL/PGSQL to call this executable, or something like... Does any one, have done something like this ? or have any idea ? Thanks everyone! -- Sent via pg

Re: [SQL] Call a external app on postgreSQL start-up (windows)

2011-12-27 Thread Filip Rembiałkowski
2011/12/27 Maurício Cruz : > Hi all, > > I need to execute some rotines on windows every time that postgreSQL is > start at the server machine, before it's started or just after it's started? > I was thinking to create a PL/PGSQL to call this executable, or something > like... there are no trigg

Re: [SQL] Call a external app on postgreSQL start-up (windows)

2011-12-27 Thread Filip Rembiałkowski
2011/12/27 Maurício Cruz : > > I need to execute it after the postgreSQL started service. OK, so the method I described should be good for you. The script could be put in Task Scheduler every 15 minutes, or minimal delay that is acceptable. It can be written in windos batch language, or Perl, or P