Re: pgAdmin no Job node

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: pgAdmin no Job node
Дата
Msg-id 937d27e10902201133o7cae97ld57746aa5ddc0909@mail.gmail.com
обсуждение исходный текст
Ответ на pgAdmin no Job node  (Ignacio Rojas <irc@dbcomputers.com.py>)
Список pgadmin-support
[Please keep replies on-list]

On Fri, Feb 20, 2009 at 5:17 PM, Ignacio Rojas <irc@dbcomputers.com.py> wrote:
> YES! Jobs enabled! now how would you recomend me to install the pgagent at
> the startup of my ubuntu? cause in the documentation said that it is system
> specific, will it work if i set the "pgagent hostaddr=locahost dbname=test
> user=ignacio" instruction it on my /etc/rc.local? and what does this
> instruction exactly do? should i use it for every database that i want to
> install a job to? or i just have to use it for only one? the postgres
> database perphaps? Tks.

You only need to setup one instance (per server*) to connect to the
postgres database. When you define your jobs in pgAdmin, you can
specify which database the step should execute in.

I'm not an Ubuntu expert, but you probably need to create a script in
/etc/init.d which will start and stop pgAgent. Look at one of the
other existing scripts in their to use as a basis for yours. I think
you then use update-rc.d to install the script in the appropriate
runlevels on Ubuntu (I'm more of a Redhat guy - we use chkconfig).

* The next version of pgAgent will allow steps to operate on remote
servers as well


-- 
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com


В списке pgadmin-support по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: pgAdmin no Job node
Следующее
От: "Andy Tilley"
Дата:
Сообщение: pgAgent problem - always runs jobs at every poll