A dashboard to manage Hangfire's recurring jobs.
License
—
Deps
15
Install Size
—
Vulns
✓ 0
Published
Aug 28, 2025
$ dotnet add package Be.Auto.Hangfire.Dashboard.RecurringJobManagerBe.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.
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();
}
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:
http://localhost:<port>/hangfire to access the Hangfire Dashboard.Add a New Job:
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.Manage Jobs:
Automatic Resolution:
To contribute, fork this repository, make your changes, and submit a pull request. For any issues or feedback, please open an issue on GitHub.
This project is licensed under the MIT License. See the LICENSE file for more details.