Setup cron jobs in Windows system

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
Setup cron jobs in Windows system
  • Next, on the actions tab click Create Task…
Setup cron jobs in Windows system
Setup cron jobs in Windows system
  • On the window that will pop up, enter your task name on the general tab.
Setup cron jobs in Windows system
Setup cron jobs in Windows system
  • On the Triggers tab, click on the New button.
Setup cron jobs in Windows system
  • Then set the time for the cron job to start.
Setup cron jobs in Windows system
  • After that, the duration set will be displayed as shown below.
Setup cron jobs in Windows system
  • 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
  • Then click OK to continue.
Setup cron jobs in Windows system
  • On the Task Scheduler, select your cron job name by double-clicking it under active tasks.
Setup cron jobs in Windows system
  • Run your cron job under the selected item as shown below.
Setup cron jobs in Windows system
  • That concludes our article on how to setup cron job in windows system. Cheers!

Read more about Cron jobs

Other Tutorials

Setup Nagios Passive Checks with NRDP

Install Redis on Ubuntu 22.04

Create Data Map Visualization in Kibana

System administrator | Software Developer | DevOps

Leave a Comment