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.

6,712 comments

  1. 카지노 사이트

    Hello there! This post couldn’t be written much better!

    Reading through this article reminds me of my previous roommate!
    He constantly kept talking about this. I am going to forward this information to him.
    Pretty sure he will have a good read. Many thanks for sharing!

  2. w88 download

    Aw, this was an extremely good post. Finding the time and actual
    effort to make a very good article… but what can I say… I procrastinate a
    whole lot and don’t manage to get anything done.

  3. zX0jP3pY5B8

    I have read so many articles or reviews concerning the
    blogger lovers but this post is really a fastidious article, keep it up.

  4. metal spinning process

    I’m now not certain the place you’re getting your information, however great topic.
    I must spend some time learning more or figuring out more.

    Thanks for excellent info I used to be in search of
    this information for my mission.

  5. 바카라사이트

    I want to to thank you for this fantastic read!! I definitely enjoyed every little bit of it.
    I have you book-marked to check out new things you post…

  6. register

    Does your website have a contact page? I’m having a tough time locating it but,
    I’d like to shoot you an email. I’ve got some ideas for your blog you might be
    interested in hearing. Either way, great website and I look forward
    to seeing it develop over time.

  7. kB7oB8wZ3O5

    Hello to all, the contents present at this site are genuinely remarkable for people knowledge, well, keep up
    the good work fellows.

  8. zing play cờ tướng

    Heya i’m for the first time here. I came across this board and I find It really
    helpful & it helped me out a lot. I’m hoping to give something
    back and aid others like you aided me.

  9. 카지노

    Admiring the dedication you put into your site and detailed information you offer.
    It’s great to come across a blog every once in a while that isn’t the same old rehashed material.
    Great read! I’ve saved your site and I’m adding your
    RSS feeds to my Google account.

  10. 우회주소

    Today, I went to the beach front with my kids.
    I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.”
    She placed the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear.
    She never wants to go back! LoL I know this is
    totally off topic but I had to tell someone!

  11. water department

    Your style is unique compared to other people I have read stuff
    from. Thank you for posting when you have the opportunity, Guess I’ll just bookmark this web site.

  12. live casino games

    Great post. I was checking constantly this blog and I
    am impressed! Extremely helpful information specifically the remaining section 🙂 I deal with such information a lot.
    I used to be seeking this particular info for a very long time.

    Thank you and good luck.

  13. KCr6dmf9M/RqF7vN3K9

    I do not even know how I stopped up right here, however I assumed this submit was once great.
    I do not recognise who you might be however definitely
    you are going to a famous blogger in the event you aren’t already.
    Cheers!

  14. online gambling

    I’ve been surfing online more than 3 hours today, yet I never found any
    interesting article like yours. It is pretty worth enough
    for me. In my opinion, if all webmasters and bloggers made good content as you did, the web will be much more useful than ever before.

  15. fun88 ฟรี 300

    Hello! I know this is kinda off topic however , I’d figured I’d ask.

    Would you be interested in exchanging links or maybe guest writing a
    blog post or vice-versa? My website discusses a lot of the same topics as yours and I believe we could greatly benefit from each other.

    If you are interested feel free to send me an e-mail.
    I look forward to hearing from you! Terrific blog by the way!

  16. poker hand ranking

    I do accept as true with all of the ideas you have offered to your post.
    They’re very convincing and will definitely work. Still, the posts are too brief for
    newbies. May you please extend them a bit from subsequent time?
    Thanks for the post.

  17. 다파벳 출금

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

  18. 1xbet korea

    Howdy I am so happy I found your weblog, I really found you by error, while I was searching on Bing for something else,
    Anyhow I am here now and would just like to say cheers for
    a marvelous post and a all round enjoyable blog (I also love
    the theme/design), I don’t have time to go through it all at
    the moment but I have book-marked it and also added your RSS feeds, so when I have time I will be
    back to read much more, Please do keep up the superb work.

  19. 솔레어카지노

    I love your blog.. very nice colors & theme. Did you make this website yourself or did you hire someone to do it for
    you? Plz answer back as I’m looking to design my
    own blog and would like to know where u got this from.
    appreciate it

  20. Vintage

    Every weekend i used to pay a visit this website, for the reason that
    i wish for enjoyment, since this this site conations actually nice funny stuff too.

  21. metso jaw crusher parts

    Leading Specialty Steel Plate Processing Service Center. Demand A Quote Today! ASME Certified Distributor Of Abrasion Resistant Steel Plates.

  22. 188bet

    Great post. I was checking continuously this weblog and I am
    inspired! Extremely useful information particularly the
    ultimate part 🙂 I handle such information a lot.

    I used to be seeking this certain information for a long time.
    Thanks and good luck.

  23. bet365 登録

    Link exchange is nothing else however it is just placing the other
    person’s webpage link on your page at appropriate place and other person will also do same for
    you.

  24. 1960s interior design

    My spouse and I stumbled over here by a different website and thought I
    should check things out. I like what I see so now i’m following you.
    Look forward to exploring your web page for a second time.

  25. 메리트카지노

    I’ve been surfing on-line greater than three hours today, but I never found any interesting article like yours.
    It is beautiful price enough for me. In my view, if
    all website owners and bloggers made excellent content as
    you did, the internet will probably be a lot more helpful than ever before.

  26. slot gacor

    Hi tһere! This blog post coᥙldn’t bе wгitten much Ƅetter!
    ᒪooking at tһiѕ post reminds mе of mʏ pгevious roommate!
    He constawntly kept preaching аbout this. I will send this post to һim.
    Fairly certɑin һе’ll haνe a ѵery good read.
    Many tһanks fߋr sharing!

    My һomepage slot gacor

  27. บาคาร่า

    constantly i used to read smaller content that as well clear their motive, and that is also happening with this piece of writing
    which I am reading at this time.

  28. gambling sites

    Hi ɑre using Wordρresѕ for yyour site pⅼatform?
    I’m new to thee blog worlɗ but I’m trying to gget started ɑnd set up my own. Dⲟ you need
    any coding knowledge too make your own blog? Any help would be greatly apρreciated!

    Stop bу my web-site :: gambling sites

Leave a Reply

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