New Post: Quartz.Net
Thanks for the idea. I'll collaborate with the authors of Quartz.Net to see what could be done.
View ArticleNew Post: getting security information for a task
I think you are looking for one of two things: 1) The user account under which the task was created - in which case use Task.Definition.RegistrationInfo.Author or 2) The user account under which the...
View ArticleNew Post: getting security information for a task
Thanks, I spent a better part of the day looking in the tasksecurity class. LOL. I went and looked at your source code for the interface and was able to identify the task.definition class. Just getting...
View ArticleNew Post: getting security information for a task
The only way to change the password for a task is to re-register the task.
View ArticleNew Post: Get Delay from Trigger?
How do I get the delay time from a trigger? For instance...Dim delayTime as short Using taskServiceObject As TaskService = New TaskService() Dim taskObject As Microsoft.Win32.TaskScheduler.Task =...
View ArticleNew Post: Get Delay from Trigger?
First of all, tasks do not have to have any triggers so unless you know there is at least one trigger, you should check Triggers.Count > 0 before getting the indexed trigger. To answer your...
View ArticleClosed Unassigned: System.IO.FileNotFoundException...
Can you help me, I just got this error on Windows XP Pro (SP3)System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002) at...
View ArticleClosed Unassigned: Problem to edit task with editor [11937]
Hi, i have a problem with generating the code after executionMy code :```TaskService mgr = new TaskService();TaskEditDialog dlg = new TaskEditDialog(mgr.RootFolder.Tasks[0], false, false);```Une...
View ArticleClosed Unassigned: Remote windows server 2003 Task scheduling access [11880]
hi,when i tried to connect a remote server(windows 2003) using the line,Microsoft.Win32.TaskScheduler.TaskService _taskservice = new Microsoft.Win32.TaskScheduler.TaskService(servername, username,...
View ArticleClosed Unassigned: System.NullReferenceException exception in web service...
I wrote an c# console app which calls web service.I needed to run this app for every night, so I decided to use this task scheduler as it seems a good one to do my job.But I got an issue which says...
View ArticleUpdated Wiki: Documentation
Documentation Home Page 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...
View ArticleUpdated Wiki: Examples
Examples Home Page You can go to these pages for more sample code:Trigger Example CodeAction Example CodeSecurity Explanations and Samples Below are some examples of how to use most of the functions of...
View ArticleNew Post: UserAccountDomain and UserName NULL when ConnectedDomain and...
Hi, I have started using this managed wrapper but came into this weird problem. When I have tried to Register the Task using the UserAccountDomain and UserName properties from the Task Service which is...
View ArticleNew Post: UserAccountDomain and UserName NULL when ConnectedDomain and...
This is by design and relates to serialization. The UserAccountDomain and UserName properties will return null if they match the current user that is executing the library.
View ArticleNew Post: UserAccountDomain and UserName NULL when ConnectedDomain and...
Hi dahall, Thanks for your quick response. So, I have tried with a different account. i.e. I have connected with my credentials and creating the task using a different credential. In that case, I have...
View ArticleNew Post: UserAccountDomain and UserName NULL when ConnectedDomain and...
When UserDomain is NULL, does ConnectedDomain match the domain specified by System.Environment.UserDomain? I may have a logic error if you are getting UserName but not UserDomain.
View ArticleCreated Unassigned: Recently we got AccessViolationException [12019]
Hi! Recently we've got the following exception. It happened one time and we cannot reproduce it.System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation....
View ArticleCommented Unassigned: Recently we got AccessViolationException [12019]
Hi! Recently we've got the following exception. It happened one time and we cannot reproduce it.System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation....
View ArticleSource code checked in, #94299
* Added static Instance property to TaskService * Simplified some interop helper methods
View Article