https://github.com/burnsoftnet/auto_service_check
This VBScript will check all the Automatic Services on a windows machine and restart them if they are not up and running. The script has the ability to check the local machine or a remote machine. This is task that we normally run on Task Scheduler using the AutoServe.bat this is included in the project. Since the script runs on it’s own interval we normally set the Task Scheduler Task to run on system start. If you look in the Batch Script we have the vbscript pipe the output to a log file, with in the batch script there is a function to check the log size, if it is over 700KB then delete before running the script, the way we have task scheduler setup, a new log will be created on the next restart, only if it is over 700KB.
https://github.com/burnsoftnet/auto_service_check
batch-script local-machine maintenance remote-machine task-scheduler vbscript vbscript-pipe windows-machine
Last synced: 5 months ago
JSON representation
This VBScript will check all the Automatic Services on a windows machine and restart them if they are not up and running. The script has the ability to check the local machine or a remote machine. This is task that we normally run on Task Scheduler using the AutoServe.bat this is included in the project. Since the script runs on it’s own interval we normally set the Task Scheduler Task to run on system start. If you look in the Batch Script we have the vbscript pipe the output to a log file, with in the batch script there is a function to check the log size, if it is over 700KB then delete before running the script, the way we have task scheduler setup, a new log will be created on the next restart, only if it is over 700KB.
- Host: GitHub
- URL: https://github.com/burnsoftnet/auto_service_check
- Owner: burnsoftnet
- License: mit
- Created: 2016-12-16T13:31:01.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-04-11T19:56:01.000Z (over 6 years ago)
- Last Synced: 2025-02-17T07:35:14.824Z (8 months ago)
- Topics: batch-script, local-machine, maintenance, remote-machine, task-scheduler, vbscript, vbscript-pipe, windows-machine
- Language: Visual Basic
- Size: 81.1 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE