Quantcast
Channel: Task Scheduler Managed Wrapper
Browsing all 2206 articles
Browse latest View live

New Post: Create Task in Specific Folder

// Fill out a TaskDefinition as per examples and documentation TaskDefinition taskDef = ts.NewTask(); // Add things to TaskDefinition like settings, triggers and actions // Get a reference to the...

View Article


Source code checked in, #83275

Added ability to use Arabic dates (native library only support Gregorian)

View Article


New Post: Create Task in Specific Folder

Thanks, I did it also in another way , but I think your way is more proficient.

View Article

New Post: Calling URL

Is there a way to register task to call a URL everyday for example? if there isn't , what is the alternatives ?

View Article

New Post: COMException connecting to Windows 2012 Task Scheduler remotely

Hi, I got the same problem, The property task.Definition is throwing the same exception. I'm trying to get Scheduled Tasks from Windows 2012 and Windows 8, and get the same exception. Any idea how to...

View Article


New Post: Calling URL

You can use the ExecAction to call "iexplore.exe" or "chrome.exe" and then pass the URL as a parameter.

View Article

New Post: COMException connecting to Windows 2012 Task Scheduler remotely

I'm trying to setup an environment that will let me test this. Until I can, I would try setting the TaskDefinition's Settings.Compatibility property to TaskCompatibility.V2_1 when registering the task....

View Article

New Post: Create task start time from datetimepicker, and execaction multiple...

Hi, i have created a form in VS2012 with textboxes to enter starttime (as 00:00) and a datetimepicker. Can i pass this into the timetrigger? I have this: dateTimePicker1.Format =...

View Article


New Post: Create task start time from datetimepicker, and execaction multiple...

For the time trigger, you must supply a valid DateTime value as the only argument to the constructor:taskDef.Triggers.Add(new TimeTrigger(new DateTime(dateTimePicker1.Value))); For the action, the...

View Article


New Post: Calling URL

Given that the shell is used to run the ExecAction, you can even just assign the URL to the path constructor parameter or property.

View Article

Commented Issue: The function attempted to use a name that is reserved for...

I received the following exception when calling GetRunningTasks: "The function attempted to use a name that is reserved for use by another transaction. (Exception from HRESULT: 0x80071A90)" Here is the...

View Article

Closed Issue: The function attempted to use a name that is reserved for use...

I received the following exception when calling GetRunningTasks: "The function attempted to use a name that is reserved for use by another transaction. (Exception from HRESULT: 0x80071A90)" Here is the...

View Article

Commented Issue: The function attempted to use a name that is reserved for...

I received the following exception when calling GetRunningTasks: "The function attempted to use a name that is reserved for use by another transaction. (Exception from HRESULT: 0x80071A90)" Here is the...

View Article


New Post: Calling URL

Could you please provide an example.. Thanks

View Article

New Post: Dynamically add days to DaysOfWeek

My UI contains checkboxes of days, so when user setup a weekly schedule it should create a WeeklyTrigger with checked days , how to implement this case ?

View Article


New Post: Create trigger runs every hour in specific minute

How to implement trigger to run for example every hour in a day on minute 30 , so it will be 12:30 , 1:30 , 2:30 .... etc ?

View Article

New Post: Calling URL

td.Actions.Add(new ExecAction(@"C:\Program Files\Internet Explorer\iexplore.exe", "http://do.something.now"));

View Article


New Post: Create trigger runs every hour in specific minute

DailyTrigger dt = new DailyTrigger(); dt.StartBoundary = DateTime.Today.AddMinutes(30); dt.Repetition.Duration = TimeSpan.FromHours(23); dt.Repetition.Interval = TimeSpan.FromHours(1); new...

View Article

New Post: Dynamically add days to DaysOfWeek

You will have to step through the checkboxes and assign each one to a DaysOfTheWeek value then OR all those selected values together and assign them to the DayOfWeek property of the WeeklyTrigger. If...

View Article

New Post: Load balancing Task schedular

Hi , any one have idea of how to run the task schedular in load balancing Environment. is it possible to run the Taskschedular in load balancing envirronment.since i need to make my server high...

View Article
Browsing all 2206 articles
Browse latest View live


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