Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Automate the Service,Urgent
Hello,
Try this:
AT 9:00P /EVERY M,T,W CMD /C <path\filename.cmd>
If you are trying to start/stop services on a remote machine then this will not work. You will then need the NETSVC utility from thr NT resource kit. The schedule service must be run under a network authorized user not the local system account.
HTH
-- Chris J. Guidry P.Eng. ATCO Electric, Metering Services Phone: (780) 420-4142 Fax: (780) 420-3854 Email: chris.guidry_at_atcoelectric.comReceived on Fri Jan 26 2001 - 09:39:55 CST
> -----Original Message-----
> From: Dash, Saroj (CAP,CEF) [SMTP:Saroj.Dash_at_gecapital.com]
> Sent: Thursday, January 25, 2001 10:45 PM
> To: Multiple recipients of list ORACLE-L
> Subject: Automate the Service,Urgent
>
> Hello All,
>
>
>
> I want to start and stop the service of a processor in NT using AT
> scheduler command.
>
> For example. Suppose I have a Service called "Plug and Play".This service
> will start and stop automatically.
>
> I tried with AT command But it failed.The syntax is like this which i
> tried:
>
> AT Machinename 21:00 /every:M,T,W "filename.cmd"
>
>
> The contents of filename.cmd is
>
> Net stop "Plug and Play"
>
>
> Question is:Please tell me automatically how to start and stop the service
> of a Process.
>
> Regards,
> Saroj.
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Dash, Saroj (CAP,CEF)
> INET: Saroj.Dash_at_gecapital.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
![]() |
![]() |