New Post: I want to create a schedule that will run every 1 hour in a day.
Assuming the task begins triggering immediately, runs indefinitely and executes a program:DailyTrigger dt = new DailyTrigger(); dt.Repetition.Duration = TimeSpan.FromHours(23); dt.Repetition.Interval =...
View ArticleNew Post: Task history filter or sort
Is there a way to filter a TaskEventLog, or to loop through it in descending date order? Some tasks have a huge number of history entries, so it takes a long time to go through them all. In most cases,...
View ArticleNew Post: Task history filter or sort
The TaskEventLog constructor allows you specify a start time, as task name and a machine name as filters. For even fewer entries, you can also use the CorrelatedTaskEventLog which collects all events...
View ArticleNew Comment on "Examples"
There is so much here I'm having trouble finding the simple things. How do I schedule something to run every 10 minutes all day every day?
View ArticleNew Post: I want to create a schedule that will run every 1 hour in a day.
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:...
View ArticleNew Post: I want to create a schedule that will run every 1 hour in a day.
Yes. That setting is reserved for systems after XP. You must be on an XP or Server 2003 system.
View ArticleNew Comment on "Examples"
>>Chizl: You can find an exampe at http://taskscheduler.codeplex.com/discussions/433076 for something very similar. You will use the DailyTrigger with a repetition interval and duration defined.
View ArticleNew Post: I want to create a schedule that will run every 1 hour in a day.
No, I am trying to run the program on Win 8 operating system.
View ArticleNew Post: Task history filter or sort
I don't see an option to include a start time, though that sound like exactly what I need. I see only two overloads, one to specify the TaskPath, and one to specify MachineName and TaskPath. Is the...
View ArticleNew Post: I want to create a schedule that will run every 1 hour in a day.
I was incorrect. That setting only works on XP and earlier. To do what you want on Vista and later, int the RegisterTaskDefinition method you need to supply a password and use the...
View ArticleUpdated Wiki: Examples
Below are some examples of how to use most of the functions of the library:Connecting to a remove serverUsing the editorSimple exampleEnumerate all tasksComplex exampleTask history exampleYou can also...
View ArticleUpdated Wiki: Documentation
There is a help file included with the download that provides an overview of the various classes. The Microsoft MSDN documentation provides an excellent overview of the Task Scheduler along with...
View ArticleUpdated Wiki: Documentation
There is a help file included with the download that provides an overview of the various classes. The Microsoft MSDN documentation provides an excellent overview of the Task Scheduler along with...
View ArticleNew Post: Small code improvement in Trigger.cs
After some tests, I've found that creating a scedule in Windows Vista+ when the system language has interesting calendars, it fails with a COM Exception refering to StartBoundary with a bad GregorianUS...
View ArticleNew Post: Small code improvement in Trigger.cs
Thanks for solving this problem. I have incorporated your suggested changes into the code and will be testing them as part of the next release (1.9.4).
View ArticleNew Post: Small code improvement in Trigger.cs
Excelent! And gongrats for this Project, very usefull!
View ArticleNew Post: Small code improvement in Trigger.cs
In case you are using your modified code for your project, I have already found some other related code changes. First, there is a line in Task.cs that is similar to those in Trigger.cs that needs a...
View ArticleNew Post: Small code improvement in Trigger.cs
Good to know. Thinking on wait unill next release hehe :D
View ArticleNew Post: Create Task in Specific Folder
Suppose that I have a folder under the root folder called "MyFolder", how can I create task in this folder specifically ?
View Article