{"id":29656101,"url":"https://github.com/demirermustafa/quartz.extensions.microsoft.dependencyinjection","last_synced_at":"2025-07-22T08:31:19.668Z","repository":{"id":305809788,"uuid":"250464029","full_name":"demirermustafa/Quartz.Extensions.Microsoft.DependencyInjection","owner":"demirermustafa","description":"Microsoft Dependency Injection Extensions For Quartz ","archived":false,"fork":false,"pushed_at":"2021-01-26T19:29:06.000Z","size":23,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-22T06:32:56.761Z","etag":null,"topics":["aspnetcore","dependency-injection","netcore31","quartz","quartz-scheduler","quartzscheduler","scheduler"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/demirermustafa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-03-27T07:04:01.000Z","updated_at":"2024-10-04T20:56:06.000Z","dependencies_parsed_at":"2025-07-22T06:44:26.026Z","dependency_job_id":null,"html_url":"https://github.com/demirermustafa/Quartz.Extensions.Microsoft.DependencyInjection","commit_stats":null,"previous_names":["demirermustafa/quartz.extensions.microsoft.dependencyinjection"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/demirermustafa/Quartz.Extensions.Microsoft.DependencyInjection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/demirermustafa%2FQuartz.Extensions.Microsoft.DependencyInjection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/demirermustafa%2FQuartz.Extensions.Microsoft.DependencyInjection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/demirermustafa%2FQuartz.Extensions.Microsoft.DependencyInjection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/demirermustafa%2FQuartz.Extensions.Microsoft.DependencyInjection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/demirermustafa","download_url":"https://codeload.github.com/demirermustafa/Quartz.Extensions.Microsoft.DependencyInjection/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/demirermustafa%2FQuartz.Extensions.Microsoft.DependencyInjection/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266456245,"owners_count":23931383,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aspnetcore","dependency-injection","netcore31","quartz","quartz-scheduler","quartzscheduler","scheduler"],"created_at":"2025-07-22T08:30:52.101Z","updated_at":"2025-07-22T08:31:19.656Z","avatar_url":"https://github.com/demirermustafa.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Quartz.Extensions.Microsoft.DependencyInjection\n\nDependency injection extensions for Quartz. It allows to inject a job easily in a standart way. Jobs are registered in **Startup.ConfigureServices** by using **AddJob** extension method as in the below configuration sample.\n\n## Installation\n\u003e  Install-Package Quartz.Extensions.Microsoft.DependencyInjection\n\n## Sample Configuration\nTo register a quartz job, use the AddJob method as follows.  And then, cron expression should be set.\nMultiple jobs are easily injected in fluent syntax as in the coding conventions that used at NetCore.\n\n```csharp\n public class Startup\n    {\n        public Startup(IConfiguration configuration)\n        {\n            Configuration = configuration;\n        }\n\n        public IConfiguration Configuration { get; }\n\n        public void ConfigureServices(IServiceCollection services)\n        {\n            services.AddJob\u003cSingletonJob\u003e(c =\u003e { c.CronExpression = \"0/5 * * * * ?\"; });\n\t\t    ..\n            ..\n            ...\n        }\n}\n```\n## Sample Job\nCreate a job as defined in Quartz.\n\n```csharp\n   [DisallowConcurrentExecution]\n    public class SampleJob : IJob\n    {\n        private readonly ILogger\u003cSampleJob\u003e _logger;\n        public SingletonJob(ILogger\u003cSampleJob\u003e logger)\n        {\n            _logger = logger;\n        }\n\n        public Task Execute(IJobExecutionContext context)\n        {\n            _logger.LogInformation(\"SampleJob Executed: \" + DateTime.UtcNow);\n            return Task.CompletedTask;\n        }\n    }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdemirermustafa%2Fquartz.extensions.microsoft.dependencyinjection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdemirermustafa%2Fquartz.extensions.microsoft.dependencyinjection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdemirermustafa%2Fquartz.extensions.microsoft.dependencyinjection/lists"}