/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (1)

Posted by: olivier 19 years ago
Orange Senior Belt
0
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?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ