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.

2,065 comments

  1. バカラ

    Please let me know if you’re looking for a writer for your site.

    You have some really great posts and I believe I would be a good asset.
    If you ever want to take some of the load off, I’d really like to write some
    content for your blog in exchange for a link back to
    mine. Please shoot me an e-mail if interested. Regards!

  2. 더나인카지노

    It’s amazing to pay a quick visit this web site and reading the
    views of all friends concerning this piece of writing, while I am
    also eager of getting familiarity.

  3. sâm lốc miên phi

    Hey! I realize this is kind of off-topic but I needed to ask.
    Does managing a well-established blog such as yours require a large amount of work?
    I’m brand new to blogging however I do write in my diary everyday.
    I’d like to start a blog so I will be able to share my
    experience and feelings online. Please let me know if you have
    any kind of recommendations or tips for brand new
    aspiring blog owners. Thankyou!

  4. used textbook store

    When I originally commented I clicked the “Notify me when new comments are added”
    checkbox and now each time a comment is added I get four emails with the same comment.
    Is there any way you can remove people from that service?
    Thanks!

  5. Jayme

    Hi! I’ve been reading your blog for a long time now and finally got the courage to go
    ahead and give you a shout out from New Caney Texas!
    Just wanted to tell you keep up the great work!

  6. Felipe Klaameyer

    I have been absent for a while, but now I remember why I used to love this website. Thank you, I will try and check back more frequently. How frequently you update your website?

  7. evangelical theology

    What’s up i am kavin, its my first occasion to commenting anywhere, when i read this piece of
    writing i thought i could also create comment due to this sensible post.

  8. tá lả là gì

    Very nice post. I just stumbled upon your weblog and wanted to
    say that I have truly enjoyed browsing your blog posts.
    After all I will be subscribing to your rss feed and I hope you write again very soon!

  9. dhs travel advisory

    It’s the best time to make some plans for the future and it’s time to be happy.

    I’ve read this post and if I could I wish to suggest you few interesting things or suggestions.

    Maybe you could write next articles referring to
    this article. I desire to read even more things about it!

  10. Payday loans

    This paragraph is genuinely a good one it assists new net visitors, who are wishing in favor of blogging.

  11. 메리트카지노

    Hi there this is kinda 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 greatly appreciated!

  12. 퍼스트카지노

    Thanks for the auspicious writeup. It in reality was once a leisure account it.
    Look complex to more introduced agreeable from you! By
    the way, how could we communicate?

  13. 제왕카지노

    What you composed made a bunch of sense. But, think about this, what if you typed
    a catchier post title? I am not suggesting your information isn’t solid,
    however what if you added a headline to possibly get folk’s attention? I mean Creating a
    Windows Scheduler to Run Programs Automatically – Dryan Christoph Personal Website
    is a little plain. You might look at Yahoo’s home page and see how they write news headlines to get people
    interested. You might try adding a video or a picture or two to get
    people excited about what you’ve written. In my opinion, it might make your blog a little bit more interesting.

  14. 1xbet

    These are really great ideas in regarding blogging.
    You have touched some fastidious points here.
    Any way keep up wrinting.

  15. 퍼스트카지노

    I know this if off topic but I’m looking into starting
    my own weblog and was curious what all is needed to get
    set up? I’m assuming having a blog like yours would cost a pretty penny?
    I’m not very web smart so I’m not 100% sure. Any suggestions or advice would be
    greatly appreciated. Appreciate it

  16. カジノ 日本

    Currently it looks like Movable Type is the preferred blogging platform out there right now.

    (from what I’ve read) Is that what you’re using on your blog?

  17. 솔레어카지노

    Hi there! Would you mind if I share your blog with my myspace group?
    There’s a lot of people that I think would really enjoy your content.
    Please let me know. Many thanks

  18. Sharron Raynor

    I’ve read a few good stuff here. Certainly value bookmarking for revisiting. I surprise how much effort you place to create such a great informative site.

  19. mistletoe herbal medicine

    It’s very trouble-free to find out any matter on web as compared
    to textbooks, as I found this post at this web page.

  20. 더나인카지노

    Hi! I just would like to give you a huge thumbs up for your great info you have here
    on this post. I’ll be coming back to your web site for more soon.

  21. Gilda

    Since the admin of this web site is working, no hesitation very quickly it will be well-known, due to its feature contents.

  22. 솔레어카지노

    Everything is very open with a very clear explanation of the challenges.

    It was truly informative. Your website is very helpful. Thank you
    for sharing!

  23. 우리카지노

    This site truly has all of the info I wanted about this
    subject and didn’t know who to ask.

  24. 더킹카지노

    It’s a shame you don’t have a donate button! I’d most certainly donate to this superb blog!

    I guess for now i’ll settle for book-marking and adding your RSS feed to my Google account.
    I look forward to fresh updates and will
    talk about this site with my Facebook group. Talk soon!

  25. download game love138

    Great post. I was checking continuously this blog and I’m
    impressed! Very helpful info specifically the last part 🙂 I care for such info a
    lot. I was seeking this particular info for a long time. Thank you and best of luck.

    Also visit my web blog – download game love138

  26. www.dailystrength.org

    Howdy! I could have sworn I’ve been to this web site before
    but after going through some of the articles I realized it’s new to me.
    Regardless, I’m definitely happy I found it and I’ll be
    book-marking it and checking back frequently!

    Here is my page … http://www.dailystrength.org

  27. Delmar

    I am truly happy to glance at this website posts which carries lots of helpful facts, thanks for providing such
    information.

Leave a Reply

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