BKB.Be.Auto.Hangfire.Dashboard.RecurringJobManager
1.1.4
dotnet add package BKB.Be.Auto.Hangfire.Dashboard.RecurringJobManager --version 1.1.4
NuGet\Install-Package BKB.Be.Auto.Hangfire.Dashboard.RecurringJobManager -Version 1.1.4
<PackageReference Include="BKB.Be.Auto.Hangfire.Dashboard.RecurringJobManager" Version="1.1.4" />
<PackageVersion Include="BKB.Be.Auto.Hangfire.Dashboard.RecurringJobManager" Version="1.1.4" />
<PackageReference Include="BKB.Be.Auto.Hangfire.Dashboard.RecurringJobManager" />
paket add BKB.Be.Auto.Hangfire.Dashboard.RecurringJobManager --version 1.1.4
#r "nuget: BKB.Be.Auto.Hangfire.Dashboard.RecurringJobManager, 1.1.4"
#:package BKB.Be.Auto.Hangfire.Dashboard.RecurringJobManager@1.1.4
#addin nuget:?package=BKB.Be.Auto.Hangfire.Dashboard.RecurringJobManager&version=1.1.4
#tool nuget:?package=BKB.Be.Auto.Hangfire.Dashboard.RecurringJobManager&version=1.1.4
BKB.Be.Auto.Hangfire.Dashboard.RecurringJobManager
This is a fork of Be.Auto.Hangfire.Dashboard.RecurringJobManager with additional bug fixes and enhancements.
Why This Fork?
- Original maintainer appears inactive
- Critical bugs needed fixing
Changes from Original
- Bug fixes for job management
Migration from Original
// Old
Install-Package Be.Auto.Hangfire.Dashboard.RecurringJobManager
// New
Install-Package BKB.Be.Auto.Hangfire.Dashboard.RecurringJobManager
Be.Auto.Hangfire.Dashboard.RecurringJobManager
Overview
Be.Auto.Hangfire.Dashboard.RecurringJobManager is a specialized library for managing recurring jobs in Hangfire-based projects. It allows you to configure and manage various types of jobs, including method calls and web requests, directly from the Hangfire Dashboard. This enables all job management tasks to be handled through the dashboard interface without needing to manually add jobs in code.
Key Features
- Automatic Type and Method Detection: Automatically detects types and methods within the project’s assembly, allowing you to input parameters directly through the Hangfire Dashboard.
- Dependency Injection (DI) Support: Types registered with DI are automatically resolved.
- Comprehensive Job Management: Supports MethodCall and WebRequestJob types, with full control over job creation, editing, and deletion through the dashboard.
- HTTP Request Jobs: Allows detailed configuration of HTTP requests, including headers, body, and query parameters, directly through the dashboard. It also prevents collisions by avoiding the duplication of jobs with identical parameters.
Installation
Add the NuGet Package: Install the
Be.Auto.Hangfire.Dashboard.RecurringJobManager
package to your project:Install-Package Be.Auto.Hangfire.Dashboard.RecurringJobManager
Configure Services: In your
Startup.cs
, add the following configuration:public void ConfigureServices(IServiceCollection services) { services.AddHangfire(config => config .UseSqlServerStorage(Configuration.GetConnectionString("HangfireConnection")) .UseDashboardRecurringJobManager(option => { option.AddAppDomain(AppDomain.CurrentDomain); option.DisableConcurrentlyJobExecution(); option.WebRequestJobTimeout(TimeSpan.FromSeconds(15)); })); services.AddHangfireServer(); }
Usage
Example Usage
The example
folder in this repository provides a sample project that demonstrates how to use the Be.Auto.Hangfire.Dashboard.RecurringJobManager
library. Here are the steps to run the example and manage jobs:
Run the Example Project:
- Start the project and navigate to
http://localhost:<port>/hangfire
to access the Hangfire Dashboard.
- Start the project and navigate to
Add a New Job:
- Go to the
Recurring Job Manager
section in the dashboard. Add a new job, selecting either the MethodCall or WebRequestJob type. Enter the necessary parameters, such as HTTP headers, body, and query parameters, directly through the dashboard interface.
- Go to the
Manage Jobs:
- View, edit, delete, pause, or restart the jobs from the dashboard as needed.
Automatic Resolution:
- Methods and types within the project are automatically detected, allowing you to configure their parameters directly via the Hangfire Dashboard.
Contributing
To contribute, fork this repository, make your changes, and submit a pull request. For any issues or feedback, please open an issue on GitHub.
License
This project is licensed under the MIT License. See the LICENSE file for more details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- Cronos (>= 0.8.4)
- HangFire.Core (>= 1.8.14)
- Newtonsoft.Json (>= 13.0.3)
- NJsonSchema (>= 11.0.2)
-
.NETStandard 2.0
- Cronos (>= 0.8.4)
- HangFire.Core (>= 1.8.14)
- Newtonsoft.Json (>= 13.0.3)
- NJsonSchema (>= 11.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Enhanced job scheduling UI with timezone search and cron expression builder