Skip to content

srbrettle/Hourly-Cron-Folder-Windows-Service-CSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hourly-Cron-Folder-CSharp

Windows Service to run all executables in "C:/Cron" folder every hour. Implemented in C#.


Install Service

  1. Run command prompt (CMD) with administrator rights.
  2. Run the following command (modify values in [ ]): c:\windows\microsoft.net\framework\v[Your installed .NET Framework version]\installutil.exe "[The full path to the windows service exe]"
  3. Restart terminal.

Usage

Executables inside "C:/Cron" folder will launch on service startup and then hourly thereafter.


Uninstall Service

  1. Run command prompt (CMD) with administrator rights.
  2. Run the following command (modify values in [ ]): c:\windows\microsoft.net\framework\v[Your installed .NET Framework version]\installutil.exe -u "[The full path to the windows service exe]"
  3. Restart terminal.

About

Windows Service to run all executables in "C:/Cron" folder every hour. Implemented in C#.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages