This tutorial will discuss how to create a task scheduler in windows 10 for SharePoint. Here I have an exe file where we will copy data from one SharePoint list to another list using the SharePoint client object model (CSOM). We want this exe to run on a schedule.
We will discuss what is a Windows 10 Task Scheduler, What are the different ways to create a task in Windows 10.
Also, We will see on Windows 10, how to create a basic task by using Task scheduler with some simple steps.
What is a Task Scheduler on Windows 10
Task Scheduler is a tool that helps to create a basic task and advance tasks automatically. There is no restriction to use this task scheduler. Everyone can use it.
Some of the apps are using this task scheduler for maintaining tasks like disk cleanup, updates, etc.
By using this Task scheduler, you can start, run the application and execute the commands at a specific day, date and time. Also, the application can start and run when a particular event occurs.
You can create a scheduled task by using basic and advanced settings with a particular date and time.
When you are using Basic settings, then you can create a Basic task. Similarly, When you are using Advanced settings, then you can create an Advanced setting.
Different ways to create a Schedular task:
You can create a Schedular task by using two different ways such as:
- Create a Basic Task using Task Scheduler
- Create an Advanced Task using Task Scheduler
Create a task scheduler in windows 10 for SharePoint
Below are some basic and simple steps to create a basic task using Task Scheduler on Windows 10.
- Open Start on Windows 10 system and Search Task Scheduler.
Right-click on the “Task Scheduler Library” branch (from left navigation) and select the New Folder option as like the below screenshot.
Enter a name for the new folder. For example, NewTask and click on OK button.
Expand Task Scheduler Library (from left navigation) and select NewTask folder.
Click on the Action menu from top and select the Create Basic Task option as shown below.
Enter a name for the basic task and provide some description of the task. Click on the Next button.
Select a particular time that when do you want the task to start. In this below screenshot, I have selected Monthly option. Click on the Next button.
In the below screenshot, Use the “Start” settings to specify when the task should start running and the time (very important).
Select <All months> in the Months field and select Last option (if you want to run this task schedule on the last day of month) from the Days field. Then click on the Next button.
Select the Start a program option to launch an app and then click on the Next button.
In the “Program/script” field, specify the path for the application (.exe file). You can Browse to get your exe file path and click on the OK button.
Click on Finish button in the Summary window.
You may also like some below tutorials:
- PowerShell cannot be loaded because running scripts is disabled on this system windows 10
- Windows server 2016 installation step by step
- Get SharePoint document library size using PowerShell
- Windows PowerShell ISE Tutorial
- Copy list items to another list programmatically using CSOM in SharePoint Online/2013/2016
- Microsoft flow copy list items to another list
- SharePoint Online PowerShell: Disable versioning in a document library
Hence in this tutorial, We discussed how to create a task scheduler in windows 10 for sharepoint, what is a Windows 10 Task Scheduler, What are the different ways to create a task in Windows 10. how to create a basic task by using Task scheduler in windows 10.
I am Bijay a Microsoft MVP (8 times – My MVP Profile) in SharePoint and have more than 15 years of expertise in SharePoint Online Office 365, SharePoint subscription edition, and SharePoint 2019/2016/2013. Currently working in my own venture TSInfo Technologies a SharePoint development, consulting, and training company. I also run the popular SharePoint website EnjoySharePoint.com