Could I use scheduler to stop a service in win2000 and run some task then turn the service back on?
Thank you very much
How can I stop a service
Moderators: JRL, Dorian (MJT support)
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
As long as you are logged in with access rights to the programs/folders, etc. you could use Macro Scheduler. But this is not a service itself and scheduled events won't run if not loggeed in.
But you may be able to use your Task Scheduler to call Macro Scheduler routines.
If you can provide more specifics, then we can provide a more specific sensible solution. Will you be logged in? What service do you want to stop? What service to you want to run?
I have a Macro Scheduler backup task as an icon on the desktop of a 2K system. The system is normally logged out. I use my local machine with a scheduled Macro Scheduler task to start pcAnyWhere from this remote site, connect to the 2K pcAnyWhere Host (a service on 2K), log in to the 2K system, use MouseMove to double click the desktop Macro Scheduler icon. When that Macro Scheduler task is done, then the original Macro Scheduler logs out of the 2K system, and disconnects pcAnyWhere connection.
These Macro Scheduler routines run every night, scheduled, unattended, perform remote backups, sending off emails re the results to 3 individuals, and also creates logs on these activities.
But you may be able to use your Task Scheduler to call Macro Scheduler routines.
If you can provide more specifics, then we can provide a more specific sensible solution. Will you be logged in? What service do you want to stop? What service to you want to run?
I have a Macro Scheduler backup task as an icon on the desktop of a 2K system. The system is normally logged out. I use my local machine with a scheduled Macro Scheduler task to start pcAnyWhere from this remote site, connect to the 2K pcAnyWhere Host (a service on 2K), log in to the 2K system, use MouseMove to double click the desktop Macro Scheduler icon. When that Macro Scheduler task is done, then the original Macro Scheduler logs out of the 2K system, and disconnects pcAnyWhere connection.
These Macro Scheduler routines run every night, scheduled, unattended, perform remote backups, sending off emails re the results to 3 individuals, and also creates logs on these activities.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!