C:\WINNT>at 8:15 net stop "crunchy bits"
Added a new job with job ID = 5

C:\WINNT>at
Status ID   Day                     Time          Command Line
------------------------------------------------------------------------
-------
        2   Each 16                 4:51 PM       defrag.exe c: -f
        5   Today                   8:15 AM       net stop "crunchy
bits"


It's likely set to restart on reboot.  Were you wanting to schedule the
reboot and sp as well?  Just gap them with appropriate time and add to
at.

Kevin Gould
Sr. I/T Specialist
Gentiva Health Services, Overland Park, KS
913-814-2369


-----Original Message-----
From: hugh s [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 24, 2003 7:35 AM
To: [EMAIL PROTECTED]
Subject: stop service, reschedule start after reboot


Is there a way to stop a service and schedule a restart after
a reboot?  I've got to stop a virus checker before installing
w2ksp4.  After the reboot the virus checker has to again run.
I really don't want to come back and restart the thing.

I see the service controls in Win32::Service
StopService(hostName, serviceName)
StartService(hostName, serviceName)

I looked for something like schedule but couldn't find anything.
I have no idea what to look for.

Thanks

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to