Creating a Local Cron Job/ Windows Task Scheduler

Mantan Programmer
Geek Culture
Published in
3 min readJul 12, 2022

Hello, how are you all friends, I hope you are all healthy and successful always. In this discussion, we will discuss how to create a cron job on our local PC.

If we want to run the application online we will use a cron job to run the task we created. But this time we have a url that we want to run according to the program we planned on our local PC. This is very important for those of you who have applications running on local PC. Now we want to send a report via email with a predetermined agenda, Task Scheduler on windows is the solution.

Given how easy it is to use Task Scheduler, it’s very easy to open websites using Task Scheduler. So, if you are ever in a situation where you need to open a website on a schedule, try using Task Scheduler with the steps below.

Open URL using Task Scheduler

  • Look for Task Scheduler in the start menu and open it.
  • In Task Scheduler, click “Create basic task”.
  • Enter the task name and description then click “Next”.
  • Choose when you want the task to start and click “Next”. In my case, I wanted to run a task every day, so I chose “Daily”. If you want to start a task as soon as you turn on the computer.
  • Choose a recurring schedule and behavior. If you want to run the schedule every day, make sure that the “Recurring daily” field is set to “1”.
  • Select “Start a program” and click “Next”.
  • Click the “Browse” button and select your browser. In my case, I chose Chrome.
  • Add the url address that we want to run the “Add arguments” field and click “Next”.
  • Check first, whether what we have made is what we want then click “Finish”.
  • Next, forget all friends, click “run” on the task that we have created.
  • Wait until the time we have specified, then the url that has been created in the task schedule. will run automatically.

Demikian tutorial kali ini saya buat. semoga bermanfaat.

Terimakasih.

https://temanngoding.com/membuat-cron-job-lokal-task-scheduler-windows/

--

--