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

New Post: TaskScheduler to access task from a "WORKGROUP" machine

$
0
0
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?

Viewing all articles
Browse latest Browse all 2206

Trending Articles



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