Reading directory
I. What is a Windows scheduled task?
Ii. How to set a scheduled task
Iii. Advanced Settings
I. What is a Windows scheduled task?
In our daily work, we all have some fixed or temporary work, and every time we sit before the camera, we don't want to get up again, have you ever forgotten your plan or appointment because you are addicted to the game? In Windows, the system has an important "scheduled task" function. By setting "scheduled task", you can plan what needs to be done every day or at a certain time of a day, at the agreed time, no matter what work you do on your computer, the system will remind you or start your set task program
Ii. How to set a scheduled task?
1: Our company is going to create an application for "counting offline movies every day". I will first make this function into a WinForm program to generate an exe file.
2: Choose Start> program> attachment> System Tools to open the scheduled task window.
3: Double-click "add scheduled task" to start the "scheduled task wizard"
4: select the application to be executed. Here we select the exe file with the function of "counting offline movies every day ".
5: Enter the task name. You can use the default name or a name you like. Select the task execution method and select the "Daily" item.
6: Set the start time and date of the task. The default time is the current time and date. We will change the start time to, that is, the start time.
7. Click "finish". A new task is added to the "scheduled task" window.
Iii. Advanced Settings
Although the system will start the program "count offline movies every day" at every day, if your computer did not open before or even, this task will not be executed again, because it has passed the start time, so we need to make some necessary settings
In the "scheduled tasks" window, double-click "count offline movies every day", select the "Plan" column, and click "advanced" on the right of "Start Time, open the "advanced plan options" window, select the "repeated tasks" check box, set "recurrence interval" to "3 minutes", and select "duration" after "", and set it to "1 hour" or longer, so that from, the system will check the program every 3 minutes within 1 hour, if not run, the system will open it, that is to say, as long as you start up before, the system will execute this program, so you are not afraid to open the computer before or after.