Windows Server Task Scheduler stops after password change

Questions and answers regarding general SQL and backend databases

Windows Server Task Scheduler stops after password change

Postby Bernd.N » Mon Feb 15, 2016 4:41 pm

I use the Windows Task Scheduler to run a batch file that invokes a backup of a postgreSQL Server.
As the client's IT policy forces me to change my password every second week, the task scheduler stops to call the backup task each day, as my password changed and the task is bound to that password.
That is dangerous as sometimes I do not think about calling the task scheduler and changing the password there, too.

Does someone had a similar problem and a solution for that?
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 480
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: Windows Server Task Scheduler stops after password chang

Postby patrick » Mon Feb 15, 2016 4:48 pm

I think usually you wouldn't use a user account to run services like that, but some service account. Those don't need to change any passwords...
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3622
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: Windows Server Task Scheduler stops after password chang

Postby Bernd.N » Mon Feb 15, 2016 5:43 pm

Thanks for the hint, I will ask the IT department for such a service account.
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 480
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany


Return to SQL Databases

Who is online

Users browsing this forum: No registered users and 2 guests