Per Lundberg

Random thoughts from a BizTalk developer
posts - 10, comments - 11, trackbacks - 0

My Links

News

Archives

Post Categories

Thursday, March 12, 2009

Scheduled tasks - task stopped running when I renamed it

Well, the title says it all... I was doing some work on one of our customer's servers, when I found a task in the Scheduled Tasks function in Windows that had the wrong name.

Alright, I renamed it. The next time it was supposed to be run, Windows just ignored it! Very weird indeed.

The solution? As always, the "toggle" trick. :-) We do it with Visual Studio (with the Copy Local setting for referenced assemblies), and, apparently, it can be done with Scheduled Tasks as well. Open the task, uncheck the "enabled" box, Save, open it again, and enable it back again...

Let's hope this helps someone of you guys out there!

posted @ Thursday, March 12, 2009 10:54 PM | Feedback (0) | Filed Under [ Windows ]

Powered by: