Windows server 2003 schedule
Molomby Molomby 1 1 silver badge 7 7 bronze badges. Is it possible without script logging or similar to get the state of such a command after it has been issued? That the time remaining until reboot is 3hrs, for instance?
ErikE, The only way I know if is to issue to shutdown -a command which aborts the current shutdown. If no shutdown was scheduled, you'll get an error instead. I don't think it tells you when it was scheduled for though, and if you actually did want a shutdown you'll need to recreate it Chris Ballance Chris Ballance 1 1 gold badge 7 7 silver badges 20 20 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook.
Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Select an account to run the command as. Make sure your selected account has administrative access to the server. Next set your schedule as per your specifications, and then your done. Close the task and rename to a more meaningful name.
Add a comment. Active Oldest Votes. I'd use schtask. Improve this answer. Ben D Ben D Also, if this is a particular service like IIS there are other ways to have the service restarted on a schedule — Ben D.
It is a. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams?
Learn more. Asked 8 years, 7 months ago. Active 6 years, 4 months ago. Viewed 48k times. How to add a scheduled task that should run every x-minutes on Windows Server R2. Improve this question. MadHatter John John 6 6 gold badges 15 15 silver badges 31 31 bronze badges. Show us the schedule log, that will help figure it out. Also, check the System event log for the times it fails.
0コメント