Quantcast
Channel: Microsoft Community - Super Fresh
Viewing all articles
Browse latest Browse all 1237235

Task Scheduler + Visual Studio

$
0
0

I have written a program in C# using Visual Studio Express.

When run from the desktop, it brings up a window from which I can select Properties to configure it. From here, I can also run it and it works fine.

I add it to the Task Scheduler with the /run switch which causes it to run automatically when triggered. I use the same user account to run it from the Task Scheduler as I use when configuring it. The program does run (it creates a log file when it runs), however the Properties have not been set. If I run the program manually, the Properties are there.

It is as if it is being run under a different user account even though I am using the same one.


Viewing all articles
Browse latest Browse all 1237235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>