Quantcast
Channel: Task Scheduler Managed Wrapper
Viewing all articles
Browse latest Browse all 2206

New Post: I want to create a schedule that will run every 1 hour in a day.

$
0
0
Thanks, It worked.

I have another query. In task scheduler General Tab - I want to select radio button "Run weather user is logged on or not".
I am getting error by trying following code:

CODE:
TaskDefinition td = ts.NewTask();
td.Settings.RunOnlyIfLoggedOn = false;
ERROR:
NotV2SupportedException' was unhandled. An unhandled exception of type 'Microsoft.Win32.TaskScheduler.NotV2SupportedException' occurred in          Microsoft.Win32.TaskScheduler.dll

Viewing all articles
Browse latest Browse all 2206

Trending Articles



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