Configure scheduled Tasks under Windows Server 2008
Open the Windows Servers 2008 Task Scheduler Configuration Tool
Click "Start" and "Administrative Tools"-"Task Scheduler" to open the Task Scheduler Configuration tool as shown in:
To open the Task Scheduler main configuration panel, including Task Scheduler (local) and Task Scheduler library, you can configure a scheduled task plan that already exists in the Task Scheduler library, or you can create a new task schedule.
Right-click the Task Scheduler Library option and select the Create Task option.
The Create Task Schedule main panel appears as shown in:
First, enter the task plan name at the name location, and access the task Plan description information at the description location for later maintenance operations.
Then select the "Run whether or not the user is logged on" option at the security option so that the configured task schedule will run correctly regardless of whether the system user is logged on to the operating system Task Scheduler.
Finally, select the configuration you want in the configuration.
Note: The change user or group button configures the user that the task is scheduled to execute, typically using the administrator user or the Administrators group because the user and user group have the highest execution rights.
Common error: When performing a scheduled task, if set to "run regardless of user login" error, 0x41301
WORKAROUND: Select "Regardless of whether the user is logged in to run", tick the highest permissions to run, and then save the password method; Remember the user who is running the task, and then open Control Panel, Administrative Tools, and then open Local security policy. In the Local Security Policy window, click Local Policy, then user rights Assignment, and then click Log on as a batch job to add the user who is performing this scheduled task to the list.
Click on the Trigger tab in the Create Task main panel option, the main configuration of the task scheduled to trigger the execution of the relevant configuration, click the "New" button, pop up to create the trigger configuration panel, as shown in:
Configure start options for start tasks, start execution time options, how often to perform scheduled tasks, and other advanced settings, finally select the Select option, and finally click OK to complete the new trigger configuration, as shown in:
Click the Action tab option in the Create Task main panel to configure the specific actions that the task is scheduled to perform, as shown in:
Select the specific type of operation, the type of operation mainly includes the Start program, send e-mail, display message options, we choose to start the program here.
Click the Browse button to select the specific bat script to execute, click OK to complete the new operation configuration, as shown in:
Click on the Condition tab to complete the task schedule execution condition configuration, as shown in the configuration requirements you need:
Click Set tab to complete the task schedule execution settings configuration, depending on your desired configuration requirements, as shown in:
Finally click OK to finish creating the task configuration.
Note: If the task plan configuration performs an offsite copy of the file, you need to be aware that the General tab page needs to be executed using the Administrators user group, otherwise you cannot perform a geo-copy, but the disadvantage is that the user who created the task chooses to run only when the user logs on. This issue to study, welcome to the experts have a solution to share!!!!!!
WinServer2008 Configuring Task Scheduling