I have created a console and I want to run it every 1-minute nonstop I try to put in a scheduler task but I think that my configuration is done badly can someone help, please? I want to finish this task thank
You can follow the tutorial here How to Create a Automated Task that Runs at a Set Time in Windows 7
The steps outlined are as follows:
- Open up
Task Schedulerby either typing "task" into theStart Menusearch bar, or by openingAll Programs->Accesories>System Tools.
- Select '
Create Basic Task' from the right hand pane and the 'Create Basic Task' Wizard will open.
- With the Wizard open, type a '
Name' and 'Description' for your new task and click Next. NOTE: TheNextbutton will only be accessible once a 'Name' has been entered.
- Select the event/task to run
DAILYand clickNext.
- Select the time as 00:00 and date at which you wish the first task to start (each task afterward will run based on your selection in step 4) then click Next.
- Choose the action you with the task to execute from the list then click
Next. NOTE: For your query, select 'Start a program'.
- Click '
Browse' and navigate to the executable (exe) file of the console app you wish to run then clickNext. You can choose to ignore 'Add arguments' and 'Start in'.
- Review the task and make sure that you've set all your required information correctly. If satisfied click
Finish.
- Click the
Advancedbutton on theScheduletab. There is a checkbox forRepeattask. The default is every 10 minutes. You can change that to 1 minute.
The key here is to find the advanced properties. If you are using the XP wizard, it will only offer you to launch the advanced dialog once you created the task.
来源:https://stackoverflow.com/questions/21432980/console-application-with-task-scheduler







