Windows Task Scheduler

Creating a Windows Scheduler to Run Programs Automatically

With the help of the Task Scheduler, you can create all kinds of automated tasks or programs to be run by Windows. For example, you can schedule some apps to run at specific time intervals or display a message on your desktop when something happens. You can also run a script or batch file that you created at a specific time interval, at windows start up, or other conditions. Unfortunately, not many people know about this tool, as Windows does not advertise it as much as it deserves. To help you get started working with it, I created this guide on how to use the basic task wizard offered by the Task Scheduler. This application is already built in every windows version, so you don’t have to worry about finding the installer of the app. It’s already in your computer. Here is how it work :

Opening Windows Task Scheduler

To open Windows Task Scheduler application, simply click on Windows logo button on your keyboard and type ‘Task Scheduler’. Click on the Task Scheduler app to open it.

How to open Windows Task Scheduler


Creating a Windows Task Scheduler to Run Programs Automatically

  1. Start the “Create Task” wizard
    Windows Task Scheduler Create Task

  2. On General Tab, name your first scheduler.
    Windows Scheduler General Tab

    • To make the scheduler run only when user is logged on, choose ‘Run only when user is logged on’. Please note that by selecting this option, whenever the user logged off windows, the scheduler will not run even if scheduled in future time.
    • To make the scheduler run no matter the user is logged on or not, choose ‘Run whether user is logged on or not’. Windows will always run the task on schedule.

  3. Go to Triggers Tab, click New.
    Windows Task Scheduler Triggers Tab

  4. Configure your task to run on scheduled time. Select ‘On a schedule’ at the top of the window.
    Windows Task Scheduler Set Triggers

    • You can choose whether the scheduler will run one time only, daily, weekly, or monthly. After selecting this option, you need to select the start time on the right.
    • On Advanced settings section, you can configure :
      • Delay time, this allows the scheduler to run after specific time of the delay after the scheduled start time.
      • Repeat task, this allows the scheduler to repeat every day, hour, minute, or every few seconds. You can set this to repeat for indefinite time.
      • Stop task if runs longer than time specified.
      • Expiry time.

  5. Now it’s time to tell Windows Task Scheduler what to do. Open ‘Actions’ tab, then click ‘New’ button.
    Task Scheduler Action Tab 1

  6. Choose ‘Start a program’, click on ‘Browse’. You may choose any files to run automatically. In this example, I want to run a php file in my htdocs folder, called index.php. So I typed :
    • Program/ script :
      D:\xampp\php\php.exe
    • Add arguments :
      -f D:\xampp\htdocs\longpolling\index.php

      Task Scheduler Action Tab
      Remember that this is just an example. Basically you can run any files, like a batch file, a program that you created, or any third party applications in your computer.

  7. After specifying the application to run automatically, basically we are done. To test the scheduler, you can set the trigger to run a few minutes forward.
    To check the created scheduler, click Task Scheduler Library on the left sidebar, then find the scheduler name on the middle panel.
    Windows Task Scheduler Library
    You can run the scheduler manually by doing right click on the scheduler name, then click run. But you need to understand that this action will only run the task once, and will not repeat as told in the triggers option. To make the scheduler run continuously based on triggers option, you need to set the trigger start time on step 4 to a future time, for example a minute forward.

So that’s it about how to create a Windows Task Scheduler. There are a lot of things we can do with this feature. One of them is to create a long polling Telegram bot. In long polling, you need to continuously check to telegram server whether there is someone sending a message to the bot or not. For detailed explanation about how to create a Telegram bot using long polling method, you can check this post : Creating Telegram Bot using PHP : Long Polling.

5,076 comments

  1. planning poker

    This article is genuinely a good one it assists new web viewers,
    who are wishing in favor of blogging.

  2. ベット365

    Heya this is kind of of off topic but I was wondering if
    blogs use WYSIWYG editors or if you have
    to manually code with HTML. I’m starting a blog soon but have no coding expertise so I wanted to get
    guidance from someone with experience. Any help would be enormously
    appreciated!

  3. jeetwin sign up

    Greetings! I know this is somewhat off topic but I was wondering if you
    knew where I could locate a captcha plugin for
    my comment form? I’m using the same blog platform as yours and I’m having problems finding one?
    Thanks a lot!

  4. インディアンポーカー

    hey there and thank you for your information – I’ve definitely picked up
    something new from right here. I did however expertise a few technical issues
    using this website, as I experienced to reload the
    website lots of times previous to I could get it to load correctly.
    I had been wondering if your web host is OK? Not that I’m complaining, but slow loading instances times will
    sometimes affect your placement in google and can damage your quality score if ads and marketing with Adwords.

    Well I am adding this RSS to my email and could look out for much more of your respective intriguing content.
    Ensure that you update this again soon.

  5. 더킹카지노

    whoah this weblog is excellent i really like reading your articles.
    Stay up the great work! You know, lots of individuals are searching round for this information, you could help them greatly.

  6. 예스카지노

    of course like your website but you need to check the spelling on quite a few of your posts.
    A number of them are rife with spelling problems and I
    to find it very bothersome to inform the reality on the
    other hand I will certainly come again again.

  7. bet online

    Hurrah, that’s what I was searching for, what a information! present here at
    this webpage, thanks admin of this website.

  8. 1xbet

    I know this web page gives quality dependent articles or reviews
    and other material, is there any other site which presents
    these information in quality?

  9. live casino online

    Hey would you mind stating which blog platform you’re working
    with? I’m looking to start my own blog in the near future but I’m having a difficult time making a decision between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design and style seems
    different then most blogs and I’m looking for something
    unique. P.S Sorry for getting off-topic but I had to ask!

  10. Bwin

    This piece of writing is actually a nice one it assists new the web
    viewers, who are wishing for blogging.

  11. Andar Bahar

    Good day! This is kind of off topic but I need some help from an established blog.
    Is it very difficult to set up your own blog? I’m not very techincal but I can figure things out pretty quick.
    I’m thinking about setting up my own but I’m not sure
    where to begin. Do you have any points or suggestions? Thank you

  12. market news

    I do consider all of the ideas you’ve offered on your post.
    They are really convincing and will certainly work.
    Nonetheless, the posts are too quick for starters.
    Could you please lengthen them a bit from next time?
    Thanks for the post.

  13. online casino games

    I do not even know how I ended up here, but I thought
    this post was great. I do not know who you are but definitely you’re going to a famous blogger if you
    aren’t already 😉 Cheers!

  14. 우리카지노

    I am sure this paragraph has touched all the internet visitors, its
    really really nice paragraph on building up new website.

  15. syska smart home

    After exploring a handful of the blog articles on your site, I truly appreciate your
    technique of blogging. I saved as a favorite it to my bookmark site
    list and will be checking back soon. Take a look at my website too and let me know how you feel.

  16. pine cone crafts

    I am sure this article has touched all the internet people,
    its really really fastidious piece of writing on building up new
    blog.

  17. 빅카지노

    Wonderful article! This is the type of info
    that are meant to be shared around the net. Disgrace on the search engines for not positioning this post higher!
    Come on over and talk over with my web site .
    Thank you =)

  18. dafabet

    Hello, I log on to your blogs on a regular basis.

    Your story-telling style is witty, keep it up!

  19. raw and nasty 부드러운

    Thanks for your personal marvelous posting! I certainly enjoyed reading it, you could be a great author.I will be sure to bookmark your blog and
    may come back down the road. I want to encourage continue your great posts, have a
    nice afternoon!

  20. 더나인카지노

    Hey there! I know this is kinda off topic nevertheless I’d figured I’d ask.
    Would you be interested in trading links or maybe guest writing a blog article or vice-versa?
    My website addresses a lot of the same topics as yours and I think we could greatly
    benefit from each other. If you happen to be interested feel free to shoot me an e-mail.
    I look forward to hearing from you! Awesome blog by the way!

  21. 우리카지노

    I read this post completely on the topic of the difference of latest and preceding technologies, it’s amazing article.

  22. leo vegas india

    This is my first time pay a quick visit at here
    and i am in fact impressed to read all at single place.

  23. Titanium TV

    Thanks for your personal marvelous posting! I actually enjoyed reading it, you happen to be a great author.I will always bookmark your blog and definitely will come back sometime soon. I want to encourage that you continue your great posts, have a
    nice morning!

  24. betway download

    You are so interesting! I do not think I’ve truly read
    anything like that before. So good to find another person with genuine thoughts on this
    subject matter. Seriously.. thanks for starting this up.
    This site is something that is needed on the internet, someone
    with a little originality!

  25. ब्लैकजैक

    Your style is very unique in comparison to other
    people I’ve read stuff from. Thanks for posting when you have the opportunity, Guess I’ll just bookmark this
    page.

  26. best online roulette

    Hey there! Quick question that’s entirely off topic.
    Do you know how to make your site mobile friendly?

    My website looks weird when viewing from my apple iphone. I’m trying to find a theme or plugin that might
    be able to fix this issue. If you have any suggestions, please share.
    Appreciate it!

  27. floodstop water heater

    Thanks in favor of sharing such a good opinion, piece of writing is good, thats why i have read it fully

  28. 코인카지노

    Hi there everyone, it’s my first visit at this site, and piece of writing is actually fruitful designed for me, keep up posting
    these posts.

Leave a Reply

Your email address will not be published. Required fields are marked *