Start Stop a task & Windows CMD file exec from Unix
Hi,
1) I have schedules a task through "Schedules Task" in windows.. But I would like to write a program(may be windows CMD files) by which I should be able to start & stop the above task ?
Can any one help me?
2) Is it possible to run the above script(CMD file) from any of the Unix servers?
If yes, how can I do it?
Any help in this regard is highly helpful for me and appreciated
Thanks
Ramki
1) I have schedules a task through "Schedules Task" in windows.. But I would like to write a program(may be windows CMD files) by which I should be able to start & stop the above task ?
Can any one help me?
2) Is it possible to run the above script(CMD file) from any of the Unix servers?
If yes, how can I do it?
Any help in this regard is highly helpful for me and appreciated
Thanks
Ramki
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
olivier
19 years ago
hi
1) I don't now how but you could make a service of those tasks and then run the service with "net start ..."
you can create with the win32_sheduledjob class in wmi new jobs but unfortunatly you can't run them....
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_scheduledjob.asp
2) hmmm. from where? From a shell or from a web browser?
1) I don't now how but you could make a service of those tasks and then run the service with "net start ..."
you can create with the win32_sheduledjob class in wmi new jobs but unfortunatly you can't run them....
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_scheduledjob.asp
2) hmmm. from where? From a shell or from a web browser?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.