I have his query
INSERT INTO public.mb51_helper(
plant)
VALUES ('1826')
;
Every hour. I have setup all everything. PgAgent Service is running in services but it is not executing the query.
I have his query
INSERT INTO public.mb51_helper(
plant)
VALUES ('1826')
;
Every hour. I have setup all everything. PgAgent Service is running in services but it is not executing the query.
Change the value of PgAgent in registry. I went to the HKEY_LOCAL_MACHINE/SYSTEM/CURRENT_CONTROL_SET?SERVICES/pgAgent
Change the image path. To the folder path of the PgAgent is present "C:/Program Files/PostgresSQL/12/bin/pgagent.exe" RUN pgAgent -u WINDOWS_USER -p WINDOWS_PASSWORD hostaddr=127.0.0.1 dbname=postgres user=postgres password=postgres
And the the OBJECT NAME To NT AUTHORITY\NETWORKSERVICE
You can change this in going to services or directly by changing the name of the object.