Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: PgAgent does not works


  • From: Dave Page <dpage(at)postgresql(dot)org>
  • To: Vishal Arora <aroravishal22(at)hotmail(dot)com>, pgAdmin Support <pgadmin-support(at)postgresql(dot)org>
  • Subject: Re: PgAgent does not works
  • Date: Mon, 25 Jun 2007 12:00:12 +0100
  • Message-id: <467FA03C.9070002@postgresql.org> <text/plain>

Vishal Arora wrote:

Please find the event log and dump of pgAgent schema.

From the dump file, this is the only schedule present:

COPY pga_schedule (jscid, jscjobid, jscname, jscdesc, jscenabled, jscstart,
jscend, jscminutes, jschours, jscweekdays, jscmonthdays, jscmonths) FROM
stdin;
1	1	sch1		t	2007-06-25 14:33:01+05:30	2008-06-25
00:00:00+05:30 {f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f} {f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f} {f,f,f,f,f,f,f} {f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f} {f,f,f,f,f,f,f,f,f,f,f,f}
\.

Those arrays of f's are true or false booleans in arrays of minutes, hours, weekdays, monthsdays and months, each corresponding to the check list boxes in the Schedule configuration dialog (see http://www.pgadmin.org/docs/1.6/pgagent-schedules.html). Because all of them are false in your case, there is effectively no schedule defined. you must define at least one time element to trigger the schedule!

As for the eventlog, well, there aren't *any* pgagent entries present. Are you sure it's installed and running as a service?

Regards, Dave.



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group