Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id F28F19F9ACD for ; Mon, 24 Sep 2007 05:39:58 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 82549-08 for ; Mon, 24 Sep 2007 05:39:54 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from bay0-omc3-s18.bay0.hotmail.com (bay0-omc3-s18.bay0.hotmail.com [65.54.246.218]) by postgresql.org (Postfix) with ESMTP id 3E6C09F9A68 for ; Mon, 24 Sep 2007 05:39:54 -0300 (ADT) Received: from BLU110-W49 ([10.6.61.84]) by bay0-omc3-s18.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 24 Sep 2007 01:39:53 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_c99ca08d-c58c-4e15-affe-41e966b612ba_" X-Originating-IP: [59.160.193.34] From: Vishal Arora To: Yogesh Arora , , Subject: Re: Schedular Problem in Postgres Date: Mon, 24 Sep 2007 08:39:52 +0000 Importance: Normal In-Reply-To: <116685ec0709202253h35399b31m3b34c51111b13480@mail.gmail.com> References: <116685ec0709202253h35399b31m3b34c51111b13480@mail.gmail.com> MIME-Version: 1.0 X-OriginalArrivalTime: 24 Sep 2007 08:39:53.0109 (UTC) FILETIME=[7A1C3450:01C7FE86] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/137 X-Sequence-Number: 26898 --_c99ca08d-c58c-4e15-affe-41e966b612ba_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi Yogesh,=20 =20 How did you installed your pgAgent? Can you send the bat file to me. Do you= see pgAgent Schema in PgAdminIII? And more importantly can you see job tab= . =20 You can also try out the following steps and let me know if it works.=20 =20 1) Run PgAgent.sql script in maintenance database (Postgres database b= y default).=20 2) Install PgAgent service using the following command on command prom= pt -=20 =B7 =93C:\Program Files\PostgreSQL\8.2\bin\pgAgent" INSTALL pgAgent = -u postgres -p XXXX hostaddr=3D127.0.0.1 dbname=3Dpostgres user=3DPostgres =B7 Replace the path of pgAgent if you are not using default install= ation path of Postgres =B7 Replace XXXX with the password of OS User Postgres (One given wh= ile installing Postgres on windows) =B7 dbname=3Dpostgres (change if your maintenance database is differ= ent.)=20 3) Login using Postgres user account in windows.=20 4) Try to access pgAdmin III tool in that login. (These two steps are = required to create pgpass.conf file under Postgres login account.) 5) Login back to your normal account.=20 6) Start pgAgent service using the following command on command prompt =B7 Net start pgAgent 7) Create a new job using PgAdmin III 8) Under step tab click Add to add new step.=20 =B7 Specify some name=20 =B7 Kind =96 SQL / Batch depending upon the kind of job to be perfor= med.=20 =B7 Database on which the job is to be performed.=20 =B7 Definition tab would contain a SQL command if kind selected is S= QL=20 =B7 Definition tab would contain path of Batch file if kind selected= is Batch=20 9) Under Schedule tab in Job window click Add to add new schedule for = the job=20 =B7 Specify some name=20 =B7 Specify the start date & time=20 =B7 Specify the end date and time=20 =B7 Specify days or weekdays, months when the task needs to be perfo= rmed in days tab =B7 Specify time hours & Minutes when you want the task to be perfor= med. (Atleast One hour & minute to be selected.) =B7 Specify exception if any when you do not want the task to be per= formed.=20 10) All set to work. =20 =20 =20 - Vishal Date: Fri, 21 Sep 2007 11:23:43 +0530From: yogesh.arora.daffodil@gmail.comT= o: aroravishal22@hotmail.com; ashish.karalkar@info-spectrum.com; pgsql-admi= n@postgresql.orgSubject: [ADMIN] Schedular Problem in PostgresHello All Fri= ends, do you have the Solution of your Problem of Back Up Scheduler.= ....I am facing the same problem of Back up scheduling even if i fire any q= uery instead of batch that is also not getting schedule. I am working in Wi= ndows O.S.=20 I checked in control pannel>>Administrative tool>>services... the postgreSQ= L Scheduling Agent service is running...=20 =20 I didn't understand how my job is not running... Give me the solution .... if you have any Solution them please mail me.....Thanks in advance......--= Best Regards,Yogesh AroraMobile: 09255123173Web : www.daffodildb.com=20 _________________________________________________________________ Kick back and relax with hot games and cool activities at the Messenger Caf= =E9. http://www.cafemessenger.com?ocid=3DTXT_TAGLM_SeptWLtagline= --_c99ca08d-c58c-4e15-affe-41e966b612ba_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi Yogesh,
 
How did you installed your pgAgent? Can you send the bat file to me. Do you= see pgAgent Schema in PgAdminIII? And more importantly can you see job tab= .
 
You can also try out the following steps and let me know if it works.
 

1)   = ;   Run PgAgent.sql script in maintenance database (Postgres database by defau= lt).

2)   = ;   Install PgAgent service using the following command on command prompt -

<= SPAN style=3D"FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bid= i-font-family: Symbol">=B7<= /FONT>    &= nbsp;   =93C:\Program Files\PostgreSQL\8.2\bin\pgAgent" INSTALL pgAgent -u pos= tgres -p XXXX hostaddr=3D127.0.0.1 dbname=3Dpostgres user=3DPostgres=

<= SPAN style=3D"FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bid= i-font-family: Symbol">=B7<= /FONT>    &= nbsp;   Replace the path of pgAgent if you are not using default installation = path of Postgres

<= SPAN style=3D"FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bid= i-font-family: Symbol">=B7<= /FONT>    &= nbsp;   Replace XXXX with the password of OS User Postgres (One given while in= stalling Postgres on windows)

<= SPAN style=3D"FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bid= i-font-family: Symbol">=B7<= /FONT>    &= nbsp;   dbname=3Dpostgres (change if your maintenance database is different.) =

3)   = ;   Login using Postgres user account in windows.

4)   = ;   Try to access pgAdmin III tool in that login. (These two steps are require= d to create pgpass.conf file under Postgres login account.)

5)   = ;   Login bac= k to your normal account.

6)   = ;   Start pgAgent service using the following command on command prompt=

<= SPAN style=3D"FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bid= i-font-family: Symbol">=B7<= /FONT>    &= nbsp;   Net start pgAgent

7)   = ;   Create a new job using PgAdmin III

8)   = ;   Under ste= p tab click Add to add new step.

<= SPAN style=3D"FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bid= i-font-family: Symbol">=B7<= /FONT>    &= nbsp;   Specify some name

<= SPAN style=3D"FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bid= i-font-family: Symbol">=B7<= /FONT>    &= nbsp;   Kind =96 SQL / Batch depending upon the kind of job to be performed. <= /FONT>

<= SPAN style=3D"FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bid= i-font-family: Symbol">=B7<= /FONT>    &= nbsp;   Database on which the job is to be performed.

<= SPAN style=3D"FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bid= i-font-family: Symbol">=B7<= /FONT>    &= nbsp;   Definition tab would contain a SQL command if kind selected is SQL

<= SPAN style=3D"FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bid= i-font-family: Symbol">=B7<= /FONT>    &= nbsp;   Definition tab would contain path of Batch file if kind selected is Ba= tch

9)   = ;   Under Sch= edule tab in Job window click Add to add new schedule for the job

<= SPAN style=3D"FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bid= i-font-family: Symbol">=B7<= /FONT>    &= nbsp;   Specify some name

<= SPAN style=3D"FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bid= i-font-family: Symbol">=B7<= /FONT>    &= nbsp;   Specify the start date & time

<= SPAN style=3D"FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bid= i-font-family: Symbol">=B7<= /FONT>    &= nbsp;   Specify the end date and time

<= SPAN style=3D"FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bid= i-font-family: Symbol">=B7<= /FONT>    &= nbsp;   Specify days or weekdays, months when the task needs to be performed i= n days tab

<= SPAN style=3D"FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bid= i-font-family: Symbol">=B7<= /FONT>    &= nbsp;   Specify time hours & Minutes when you want the task to be performe= d. (Atleast One hour & minute to be selected.)

<= SPAN style=3D"FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bid= i-font-family: Symbol">=B7<= /FONT>    &= nbsp;   Specify exception if any when you do not want the task to be performed= .

10)  All set to work.  

 
 
- Vishal





Date: Fri, 21 Sep 2007 11:23:43 +0530
From: yogesh.arora.daffodil@gmail.= com
To: aroravishal22@hotmail.com; ashish.karalkar@info-spectrum.com; pg= sql-admin@postgresql.org
Subject: [ADMIN] Schedular Problem in Postgres<= BR>


Hello All Friends,

 &nbs= p;      do you have the Solution of your Problem o= f Back Up Scheduler.....

I am facing the same problem of Back up sch= eduling even if i fire any query instead of batch that is also not getting = schedule. I am working in Windows O.S.

 
I checked in control pannel>>Administrati= ve tool>>services... the postgreSQL Scheduling Agent service is runni= ng...
 
I didn't understand how my job is not running... Give me the solution ..= ..
 
if you= have any Solution them please mail me.....

Thanks in advance......<= BR>

--
Best Regards,
Yogesh Arora
Mobile: 0925512= 3173
Web :  www.daffodildb.com


Kick back and relax wi= th hot games and cool activities at the Messenger Caf=E9. Play= now! = --_c99ca08d-c58c-4e15-affe-41e966b612ba_--