- Each job would be an exe with 2 main classes Program and Job
- Program.Main should simply do the following and nothing more var job = new Job(); JobRunner.Run(job, args).Wait();
- Job class must inherit NuGet.Jobs.Common.JobBase and implement abstract methods Init and Run
- An IDictionary<string, string> is passed to Init for the job to initialize the member variables
- Edit the project file on a new job and always set TRACE irrespective of configuration
- Also, add a post-build event command line: move /y App.config <jobName>.exe.config
- Also, add settings.job file to mark the job as singleton, if the job will be run as a webjob, and it be a continuously running singleton
forked from NuGet/NuGet.Jobs
joyhui/NuGet.Jobs
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C# 87.0%
- HTML 9.8%
- PowerShell 1.6%
- Other 1.6%