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.

1,018 comments

  1. Keto Slim Cuts Pills

    Admiring the time and effort you put into your website and
    in depth information you offer. It’s nice to come across a blog
    every once in a while that isn’t the same outdated rehashed information. Excellent read!
    I’ve bookmarked your site and I’m adding your RSS feeds to my Google account.

    Feel free to surf to my blog: Keto Slim Cuts Pills

  2. Full Releaf CBD Tincture

    I became honored to receive a call coming from a friend when he identified the
    important suggestions shared on your site. Going through
    your blog write-up is a real great experience. Thanks again for taking into consideration readers much like me, and
    I want for you the best of achievements as being a professional in this area.

    my web site – Full Releaf CBD Tincture

  3. Desrochers

    Hi to all, for the reason that I am really eager of reading this webpage’s post to be
    updated regularly. It carries nice material.

    my site – Desrochers

  4. http://fitnessketopills.com/

    I have been exploring for a little bit for any high quality articles or blog posts in this kind
    of space . Exploring in Yahoo I at last stumbled upon this web
    site. Studying this info So i am satisfied to show that I’ve an incredibly good
    uncanny feeling I found out just what I needed. I such a lot
    indubitably will make sure to do not overlook this web site and provides it a look
    regularly.

    Feel free to surf to my webpage – http://fitnessketopills.com/

  5. Life Vibes CBD Review

    Hey there! Someone in my Myspace group shared this website with us so I came to look
    it over. I’m definitely loving the information. I’m book-marking and will be tweeting this
    to my followers! Great blog and terrific style and design.

    Feel free to surf to my blog post Life Vibes CBD Review

  6. Sherryl

    For newest information you have to pay a visit web and on world-wide-web I found this website
    as a most excellent web page for latest updates.

  7. Roy

    Great goods from you, man. I have understand your stuff previous to and you are just too fantastic.
    I actually like what you’ve acquired here, really like what
    you are stating and the way in which you say it. You make it enjoyable and you still care for to keep it
    sensible. I can’t wait to read much more from you. This is actually a wonderful website.

  8. judi slot online indonesia

    Hello superb blog! Does running a blog such as this take a large amount of work?
    I’ve virtually no understanding of coding but
    I was hoping to start my own blog soon. Anyway, should you have any suggestions or
    tips for new blog owners please share. I know this is off topic but I simply had to ask.
    Cheers!

  9. situs slot online indonesia

    Great weblog here! Additionally your site a lot
    up fast! What web host are you using? Can I get your affiliate hyperlink to your
    host? I wish my website loaded up as quickly as yours lol

  10. Milford

    What’s up, after reading this awesome article i am as well delighted to share my familiarity here with friends.

  11. Soila

    Touche. Great arguments. Keep up the great spirit.

  12. situs slot online indonesia

    Hi Dear, are you genuinely visiting this website daily, if so after that you
    will absolutely obtain fastidious experience.

  13. situs slot online indonesia

    Thank you for the good writeup. It in fact was a amusement
    account it. Look advanced to far added agreeable from
    you! However, how can we communicate?

  14. Harlan

    I’ve been exploring for a bit for any high quality articles or blog posts on this sort of area .
    Exploring in Yahoo I finally stumbled upon this web site.
    Studying this info So i’m happy to convey that I have an incredibly
    excellent uncanny feeling I found out exactly what I needed.
    I so much indisputably will make sure to do not disregard this site and
    give it a glance regularly.

  15. Clark

    Great site you have here but I was wanting to know if you knew of any forums that cover the same topics discussed
    here? I’d really love to be a part of community where I can get advice
    from other knowledgeable people that share
    the same interest. If you have any suggestions, please let
    me know. Bless you!

  16. Mark

    I’ve read some good stuff here. Certainly worth bookmarking for revisiting.
    I wonder how so much attempt you put to create this type
    of great informative web site.

  17. Brianne

    hi!,I like your writing very a lot! percentage we be in contact extra
    approximately your post on AOL? I require an expert on this house to resolve my problem.
    Maybe that’s you! Having a look forward to look you.

  18. Brigette

    hello there and thank you for your information – I’ve
    definitely picked up anything new from right here. I did however expertise several technical issues using
    this website, as I experienced to reload the
    web site 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 am complaining,
    but slow loading instances times will often affect your placement in google and could damage your
    high-quality score if ads and marketing with Adwords.
    Anyway I am adding this RSS to my email and can look out for much more of
    your respective interesting content. Make sure you update this again very soon.

  19. Ernesto

    Appreciating the time and effort you put into your
    website and in depth information you offer. It’s nice to come across a blog every once in a
    while that isn’t the same unwanted rehashed material.
    Great read! I’ve saved your site and I’m including your RSS feeds to my Google account.

  20. Sven

    Hey there I am so happy I found your web site, I really found you by mistake,
    while I was researching on Aol for something else, Regardless I am here now and would just
    like to say cheers for a remarkable post and a all round interesting blog (I also love the theme/design), I don’t have time to look over it all at the moment but I have
    saved it and also added in your RSS feeds, so when I have time I
    will be back to read more, Please do keep up the fantastic
    job.

  21. daftar situs judi slot online terpercaya

    Neat blog! Is your theme custom made or did you download it from somewhere?
    A theme like yours with a few simple adjustements would really make my blog jump out.
    Please let me know where you got your design. Appreciate
    it

  22. Louann

    Hi there to all, how is all, I think every one is getting more from this web page, and your views are fastidious in favor of new
    visitors.

  23. Micheline

    What’s up to every body, it’s my first go to see of
    this weblog; this website includes awesome and actually excellent material designed for
    readers.

  24. Marietta

    Now I am ready to do my breakfast, when having my breakfast coming over
    again to read additional news.

Leave a Reply

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