I have some application installed in windows 2012 server and I am taking backup using below command.
pg_dump -h localhost -p 5432 -U adempiere adempiere 1>D:\Adempiere\Data\ExpDat.dmp
I created a .bat file and copied these commands. If I run the .bat file manually, it works fine and backup happens.
If I schedule a task to run the .bat file, the task shows completed, but there is no backup happens. I tested this in windows 2008 server, there also the same issue.
But in windows 2003 server, task scheduler works fine. What might be the issue