I am using the Win32.TaskScheduler to run Windows Scheduled Tasks from my web application as mentioned in this thread.
Now the difficulty I am facing is the machine which has the tasks scheduled is not in a network domain. (Since My Computer -> Properties shows something like Workgroup : WORKGROUP) and my web application is throwing an error in this line
TaskService tasksrvc = new TaskService(server.Name, login, domain, password);
So if the machine is in a WorkGroup, this task scheduler will not work? . If its possible, can somebody help me with how to specify the target server, username, domain values in case of a work group machine?
Now the difficulty I am facing is the machine which has the tasks scheduled is not in a network domain. (Since My Computer -> Properties shows something like Workgroup : WORKGROUP) and my web application is throwing an error in this line
TaskService tasksrvc = new TaskService(server.Name, login, domain, password);
So if the machine is in a WorkGroup, this task scheduler will not work? . If its possible, can somebody help me with how to specify the target server, username, domain values in case of a work group machine?