This script can be used to automate restart of Windows Service based on Time Scheduling
I have used Teamviewer as a test service. Note: Make sure to run the script with administrative rights as Service Restart would preferably refer admin privileges.
How to RUN
- Install Python
- Initialse environment path
- Install dependencies (scheduler) using (CMD> pip install scheduler)
- Run py appname.py