Re: Running a stored procedure via pgagent, need an examp le
В списке pgsql-general по дате отправления:
| От | Dave Page |
|---|---|
| Тема | Re: Running a stored procedure via pgagent, need an examp le |
| Дата | |
| Msg-id | 46C4B11C.80603@postgresql.org обсуждение исходный текст |
| Ответ на | Re: Running a stored procedure via pgagent, need an examp le (novnov <novnovice@gmail.com>) |
| Список | pgsql-general |
novnov wrote: > Thank you, just had time to test this. > > I wrote a simple sproc that adds a row to a test table. I've created a one > step job > > db = db the sproc is in > kind = sql > def = SELECT proc_test01_insertrow(); > > set to run on each minute of every hour every day, starting today 00:00:01 > > The job, step, and schedule all show as enabled. But it never runs. I've > even restarted postgres...what else could be involved? The normal problems we see are: - pgAgent is connecting to a database other than the one containing the pgagent schema. - The user account that pgAgent runs under doesn't have trust access to the database, or a suitable pgpass file to give it the password. You can also enable debugging on the pgAgent command line which should give more info about whats going on. Regards, Dave
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера