CxOverwatch icon indicating copy to clipboard operation
CxOverwatch copied to clipboard

Have CxOverwatch run as background task

Open jbrotsos opened this issue 5 years ago • 3 comments

Describe the problem

Currently you have to manually start CxOverwatch. And when you do start it, it runs in a terminal.

Proposed solution

Have CxOverwatch start on boot and run as a background task

Additional details

Perform tests by stopping engine and receiving a notification.

jbrotsos avatar Oct 12 '20 18:10 jbrotsos

A number of years ago I wrote a pluggable, .NET Windows service using Quartz. Since becoming a Checkmarx admin at my current corporate gig, I have updated it, and written a number of "jobs" that automate a bunch of maintenance and notification tasks on our corporate Checkmarx server. I am re-writing the CxOverwatch modules as Quartz jobs for it. I expect to be done with it in a few days and will submit a pull request for the whole shebang. If it is accepted into this repo, then it will do what you want.

It currently uses XML for the configuration files, and I want to change that to JSON, but I may just let the community do that.

pblanton avatar Oct 13 '20 04:10 pblanton

Sorry. I have been swamped at work getting projects ready for the holiday rush. I expect to return to work on the service soon.

pblanton avatar Nov 17 '20 01:11 pblanton

I'm doing a pull request on the Windows service in its current state. The service is cleaned up and ready to open source. The file "KlaatuService\Klaatu.Jobs\CxOverwatchJob\CxOverwatchJob.cs" is wired up into the Service, but I haven't had time to get the PS code converted to run in a service yet. Maybe someone can help with that?

pblanton avatar Nov 17 '20 01:11 pblanton