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,329 comments

  1. 넷마블 바카라

    I’m gone to say to my little brother, that he should also go to see this website on regular basis to take updated from most up-to-date news update.

  2. 우리 계열 카지노

    If you want to grow your experience only keep visiting this website and be
    updated with the most up-to-date information posted here.

  3. 넷마블 포커

    Hi to every body, it’s my first visit of this weblog; this web site contains
    remarkable and truly fine stuff for readers.

  4. 바카라사이트

    I blog quite often and I really appreciate your information. This article has truly peaked my interest.
    I’m going to book mark your blog and keep checking for new
    information about once a week. I opted in for
    your Feed too.

  5. 더킹 카지노

    You can certainly see your enthusiasm in the work you write.
    The world hopes for even more passionate writers like you who
    are not afraid to say how they believe. Always go after your heart.

  6. 더킹카지노

    Wow, this post is pleasant, my younger sister is analyzing such things, so I
    am going to tell her.

  7. 플러스카지노

    Sweet blog! I found it while browsing on Yahoo
    News. Do you have any suggestions on how to get listed in Yahoo News?
    I’ve been trying for a while but I never seem to get there!
    Thank you

  8. 그랜드 몬 디알 카지노

    Hello would you mind letting me know which hosting company you’re using?
    I’ve loaded your blog in 3 completely different internet browsers and I must say this blog loads a lot
    quicker then most. Can you recommend a good
    internet hosting provider at a reasonable price? Kudos, I
    appreciate it!

  9. xo 카지노

    I’m gone to convey my little brother, that he
    should also pay a quick visit this website on regular basis to obtain updated from hottest information.

  10. 우리카지노

    This paragraph is truly a good one it helps new net visitors, who are wishing for blogging.

  11. 파라오카지노 도메인

    Undeniably believe that that you stated. Your favorite justification seemed to
    be on the net the simplest thing to take into account of.
    I say to you, I certainly get annoyed while folks think about worries that
    they plainly don’t understand about. You controlled to hit the nail upon the top and defined out the whole thing without having side
    effect , other people could take a signal. Will likely be again to get
    more. Thank you

  12. 메리트카지노

    Good respond in return of this question with genuine arguments
    and describing everything about that.

  13. Chanda Verdin

    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 three emails with the same
    comment. Is there any way you can remove people from that service?

    Appreciate it!

  14. 0mniartist

    Have you ever thought about writing an ebook or guest authoring
    on other websites? I have a blog based on the same information you discuss and would really
    like to have you share some stories/information. I know my visitors would enjoy your work.
    If you’re even remotely interested, feel free to shoot me
    an email. asmr 0mniartist

  15. 더킹 사이트

    Hi to all, how is everything, I think every one is getting more from this web
    site, and your views are pleasant in favor of new people.

  16. 카지노 사이트 추천

    I’m not sure why but this website is loading incredibly slow for me.
    Is anyone else having this problem or is it a problem on my end?
    I’ll check back later and see if the problem still exists.

  17. 솔레어카지노 추천인

    Asking questions are in fact pleasant thing if you are not understanding
    anything fully, except this paragraph gives fastidious understanding yet.

  18. 빅 카지노

    whoah this weblog is magnificent i love reading your articles.

    Keep up the good work! You already know, many
    individuals are hunting round for this info,
    you could help them greatly.

  19. 예스 카지노

    I relish, cause I discovered just what I was taking a
    look for. You’ve ended my 4 day lengthy hunt!
    God Bless you man. Have a great day. Bye

  20. 넷마블 바카라

    Why users still make use of to read news papers
    when in this technological globe all is accessible
    on web?

  21. Annakam

    [url=http://cialistrust.com/]buy tadalafil generic[/url] [url=http://cialisatab.com/]compare cialis[/url] [url=http://isafemeds.com/]where to buy doxycycline in australia[/url] [url=http://viagrasuperpill.com/]can you buy viagra over the counter in mexico[/url] [url=http://viagradb.com/]viagra paypal[/url] [url=http://viagradpn.com/]100mg viagra price in india[/url]

  22. 실시간 바카라 사이트

    What i don’t understood is in fact how you’re not actually
    much more well-appreciated than you might be now.
    You’re so intelligent. You know thus significantly in the case of
    this subject, made me in my view believe it from numerous numerous
    angles. Its like men and women don’t seem to be
    fascinated except it is something to accomplish with Girl gaga!
    Your individual stuffs great. Always take care of it up!

  23. 메리트카지노

    Aw, this was an extremely nice post. Finding
    the time and actual effort to generate a really good article…
    but what can I say… I put things off a lot and never seem to get anything done.

  24. 메리트 카지노

    Definitely consider that which you stated. Your favorite justification appeared
    to be at the net the simplest factor to take note of.
    I say to you, I definitely get irked at the same time as
    other folks consider issues that they just do not know about.
    You controlled to hit the nail upon the highest and also defined out
    the whole thing with no need side effect , folks could take a signal.
    Will likely be back to get more. Thanks

  25. 카지노 톡

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

  26. 플러스 카지노 사이트

    You need to be a part of a contest for one of the best websites on the web.
    I am going to highly recommend this website!

  27. sm 바카라

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

Leave a Reply

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