AT batch file to stop today and restart tomorrow?
Posted on 2007-08-07
basically im making a system to shutdown a pc at a given time, to limit interaction for the user i want them to be able to click a shortcut that will stop the AT command and start the scheduled task tomorrow by default.
for example if they need to leave their computer on overnight
e.g. PC set to switch off every night at 8pm
at 20:00 /interactive /every:m,t,w,th,f,s,su c:\shutdownscript.bat
if they want they can click a file which will delete all the AT Ids and start the process from tomorrow,
at /delete /yes
what i need is the next line of command that will readd it but wont start it today i.e. its rescheduled to run from tomorrow as they could click this file before 8pm and so it would start the process again today