This article will go through how to setup cron jobs in Windows system. Cron is a unix-like operating system command line utility tool that allows users to schedule tasks, commonly known as cron jobs, to run on a regular basis at predetermined times, dates, or intervals.
How to setup cron jobs in Windows system
- On the start menu, search for Task Scheduler as shown below.
![Setup cron jobs in Windows system](https://itnixpro.com/wp-content/uploads/2022/10/Start-menu.png)
- Next, on the actions tab click Create Task…
![Setup cron jobs in Windows system](https://itnixpro.com/wp-content/uploads/2022/10/TAsk-Scheduler.png)
- On the window that will pop up, enter your task name on the general tab.
![Setup cron jobs in Windows system](https://itnixpro.com/wp-content/uploads/2022/10/General-tab.png)
- On the Triggers tab, click on the New button.
![Setup cron jobs in Windows system](https://itnixpro.com/wp-content/uploads/2022/10/Create-task.png)
- Then set the time for the cron job to start.
![Setup cron jobs in Windows system](https://itnixpro.com/wp-content/uploads/2022/10/Cron-duration-1.png)
- After that, the duration set will be displayed as shown below.
![Setup cron jobs in Windows system](https://itnixpro.com/wp-content/uploads/2022/10/created-task.png)
- Next, navigate to the Actions tab and click on New. Select the program/script that the cron job will run.
![Setup cron jobs in Windows system](https://itnixpro.com/wp-content/uploads/2022/10/Progam-or-script.png)
- Then click OK to continue.
![Setup cron jobs in Windows system](https://itnixpro.com/wp-content/uploads/2022/10/Cron-created.png)
- On the Task Scheduler, select your cron job name by double-clicking it under active tasks.
![Setup cron jobs in Windows system](https://itnixpro.com/wp-content/uploads/2022/10/Active-cron.png)
- Run your cron job under the selected item as shown below.
![Setup cron jobs in Windows system](https://itnixpro.com/wp-content/uploads/2022/10/Run-task.png)
- That concludes our article on how to setup cron job in windows system. Cheers!
Read more about Cron jobs