Tuesday, August 20, 2013

Create a scheduled task in Windows Server 2008

  1. Log into your server through 
  2. Navigate to Start > All Programs > Administrative Tools > Server Manager. This brings you to the Server Manager interface
  3. Drill down to Configuration > Task Scheduler

  4. On the right hand side of the interface, click Create Basic Task… Give the task a name and description. Click Next

  5. Select the radio button for how often the task should run: Daily, Weekly, Monthly, one time only, when the computer starts, when I log in, or when a specific event is logged. Click Next

  6. Select a start time, how often to perform the task, and an end time. Click Next

  7. Configure the task to Start a Program, Send an e-mail, or display a message by selecting the appropriate radio button. Click Next

  8. Browse to the program or script and enter in any arguments or paths to start in. For example to run a command prompt, enter in C:\Windows\System32\cmd.exe. Click Next\
    * -s: Shutdown windows server
    * -r: Reboot windows server
    * -f: Forces all running application to exit
    * -c: Allow the shutdown to by cancel by user
    * -t: Specifies the countdown in seconds until the shutdown
  9. Select the checkbox for Open the Properties dialog for this task when I click Finish if you wish to configure the task further. Click Finish

  10. The Advanced Properties window will appear. Configure the task further to your liking by adding comments to the task, telling the task when to run (only if logged in or otherwise), deleting the task after its run if it's scheduled to not run infinitely, to reschedule the task if it is missed, and so forth. After doing so, the task is setup and will run if configured properly

No comments:

Post a Comment

Jika Blog ini bermanfaat untuk anda. Silakan Tinggalkan Komentar Anda

Download Kalender 2021 Masehi / 1442 Hijriyah

Sumber artikel :  https://pintardesain.com/download-kalender-2021/ Download Kalender 2021 Masehi / 1442 Hijriyah File CorelDraw. Lengkap 12 ...