如何配置Task Scheduler每日执行作业(进程),设为9:30单次运行而非每小时执行?
Configuring Task Scheduler for Daily 9:30 Single Run (No Hourly Interval)
Got it, let's break down exactly how to tweak your Task Scheduler settings to hit both of your requirements. I'll keep this step-by-step so it's straightforward:
1. Remove Hourly Interval & Set Daily Run
If you already have an existing task that's set to run hourly, here's how to adjust it:
- Open Task Scheduler, locate your target task in the task list, right-click it, and select Properties.
- Switch to the Triggers tab, select the hourly trigger from the list, and click Edit.
- In the Edit Trigger window, under the Settings section, change the trigger type from Hourly to Daily.
- Look for the Repeat task every option—uncheck this box entirely to eliminate any hourly interval. Double-check that there's no repeat configuration enabled here.
- Click OK to save the trigger changes, then click OK again to apply the task properties.
2. Schedule a Process to Run Only Once Daily at 9:30 AM
This works for both new tasks and modifying existing ones:
For a New Task:
- Open Task Scheduler, click Create Task (the advanced option gives more control than the basic wizard).
- Give your task a clear name and optional description, then switch to the Triggers tab and click New.
- In the New Trigger window, set the Begin the task dropdown to On a schedule.
- Select Daily under the Settings section, set your desired start date, then enter
9:30:00in the Start time field. - Make sure the Repeat task every option is set to None (or uncheck the box if it's enabled) to ensure it only runs once per day.
- Click OK to save the trigger, then switch to the Actions tab and click New.
- Set the action to Start a program, then either browse to your target process executable (e.g.,
C:\Apps\MyProcess.exe) or paste its full path into the Program/script field. Add any command-line arguments if needed in the Add arguments box. - Go through the remaining tabs (Settings, Conditions) to adjust any additional preferences (like waking the computer to run the task if needed), then click OK to create the task.
For an Existing Task:
- Follow the steps from Section 1 to open the task's Properties and edit its trigger.
- Instead of just switching to Daily, set the Start time to
9:30:00and ensure no repeat interval is enabled. Save the changes as outlined before.
Just a quick sanity check: After making these changes, right-click the task and select Run to test if it executes correctly, and double-check the trigger settings to confirm no hourly repeats are lingering.
内容的提问来源于stack exchange,提问作者Somala Sanjeevareddy
相关产品推荐
相关产品推荐

