Setup Windows Task Scheduler
Using Windows built-in Task Scheduler to run Rclone mount silently
Last updated
Using Windows built-in Task Scheduler to run Rclone mount silently
Last updated
In Task Scheduler Library, click on Create Basic Task...
Create task's Name and Description
Choose When the computer starts
Choose Start a program
Enter your Rclone mount command
It will ask to move the arg into arguments field, choose Yes
Click on Open the Properties diaglog for this task when click Finish
Click on Change User or Group...
Click on Advanced...
Find now, choose SYSTEM, OK and OK again get to back to Task Properties
In the Conditions tab, untick Start the task only if the computer is on AC power
You can edit more in Settings tab...
Sometimes your computer hasn't connected to a network before the Rclone mount fails, which will lead to the task stopping. To prevent this, we will make a trigger to trigger the task every time your computer connects to a network
In the Trigger tab, click on New...
Set up like me:
Begin the task: On an event
Log: Microsoft-Windows-NetworkProfile/Operational
Source: NetworkProfile
Event ID: 10000
But note that, the task will be triggered even if it has an internet connection or not 😐