Il comando AT è deprecato, si usa SCHTASKS
Sostituisci il tuo batch con le seguenti righe:
@ECHO OFF
REM ---------------- VUE Application Wrapper Automatic----------------
REM
REM This batch file schedules the VUE Application Wrapper service to
REM be stopped and started once every 24 hours at approximately
REM 11:00 PM.
REM
REM
REM The reason for cycling the service is simply to insure that the
REM background RMA sessions are working properly. It is timed to
REM cycle the service prior to the daily maintenance cylce that
REM occurs on or araound 12:00 midnight.
REM
REM You will first need to activate the Task Scheduler Service for this
REM to work properly. This can be done via the Control Panel | Services
REM applet. Make sure it is set to start Automatically.
REM
REM If you wish to browse all of the scheduled jobs on your system
REM you can use the 'at' command (with no arguments) from the NT
REM command console. You may also browse scheduled jobs graphically
REM using the 'Scheduler' application which comes with the NT
REM Resource Kit.
REM
REM -----------------------------------------------------------------------
@ECHO ON
schtasks /create /SC DAILY /ST 22:55 /TR "NET STOP VUEAPPLICATIONWRAPPER" /TN WRAPPER
schtasks /create /SC DAILY /ST 23:00 /TR "NET START VUEAPPLICATIONWRAPPER" /TN WRAPPER2
@ECHO OFF
PAUSE