Giter VIP home page Giter VIP logo

hangfirehttpjob's People

Contributors

gnsilence avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hangfirehttpjob's Issues

请问怎么在web端添加的api任务,由另一个windowsservice程序执行任务

我们不希望在web端执行后台任务,有单独的windowsservice程序执行,
是不是直接在web客户端配置以下代码就行了
//使用redis config.UseRedisStorage(Redis, new Hangfire.Redis.RedisStorageOptions() { FetchTimeout = TimeSpan.FromMinutes(5), Prefix = "{hangfire}:", //活动服务器超时时间 InvisibilityTimeout = TimeSpan.FromHours(1), //任务过期检查频率 ExpiryCheckInterval = TimeSpan.FromHours(1), DeletedListSize = 10000, SucceededListSize = 10000 }) .UseHangfireHttpJob(new HangfireHttpJobOptions() { AddHttpJobButtonName = "添加计划任务", AddRecurringJobHttpJobButtonName = "添加定时任务", EditRecurringJobButtonName = "编辑定时任务", PauseJobButtonName = "暂停或开始", DashboardTitle = "XXX公司任务管理", DashboardName = "后台任务管理", DashboardFooter = "XXX公司后台任务管理V1.0.0.0" }) .UseConsole(new ConsoleOptions() { BackgroundColor = "#000079" }) .UseDashboardMetric(DashboardMetrics.AwaitingCount) .UseDashboardMetric(DashboardMetrics.ProcessingCount) .UseDashboardMetric(DashboardMetrics.RecurringJobCount) .UseDashboardMetric(DashboardMetrics.RetriesCount) .UseDashboardMetric(DashboardMetrics.FailedCount) .UseDashboardMetric(DashboardMetrics.ServerCount);

服务器端需要配置什么吗?除UseHangfireServer等基本配置外

Button Not Showing In Dashboard UI

Hi.
This is not a bug/issue per se. Its just that I am unable to get the button to show up on the dashboard's UI as shown in the screenshots.
I have referred the sample code also, but no luck.
I am using this for MySQL storage. Regular Hangfire and its jobs seem to be working fine.
My project is a MVC Web Application.

I don't really know what else to post here for you to understand the problem better, so please ask and help me fix this.

P.S. I found this to be the best place to inform about my issue. If this is not place to do it, please point me in the right direction.

Redis

StackExchange 在.net core 下存在并发问题,建议更换成csredis

在线添加任务失败

image

通过api添加任务,有没有文档说明呢?还有一个问题,能否通过api对任务进行增删查改操作?

Redis连接一直报错

An unhandled exception occurred while processing the request.
RedisConnectionException: UnableToConnect on 127.0.0.1:6390/Interactive, Initializing, last: NONE, origin: BeginConnectAsync, outstanding: 0, last-read: 2s ago, last-write: 2s ago, unanswered-write: 191439s ago, keep-alive: 60s, state: Connecting, mgr: 10 of 10 available, last-heartbeat: never, global: 0s ago, v: 2.0.513.63329

在vue前台管理任务

在使用ant-design-pro vue 下,结合identityserver4的管理系统中已经实现了后台任务管理,包含立即执行操作,
.net core版本3.1
演示地址:http://49.233.174.240:44357/
账号:admin
密码:Admin123...
请勿删除演示数据

添加任务失败

.NETCORE 3.1中添加任务一直报error, 数据库是SqlServer,一直报405,系统引用是1.0.7版本,下载你的代码的版本为1.0.5,什么鬼?看了下1.0.5的源码好像是
if (string.IsNullOrEmpty(jobItem.Corn))
{
context.Response.StatusCode = (int)HttpStatusCode.MethodNotAllowed;
return Task.FromResult(false);
}
这里会返回405.但是明明参数有数据?

1.1.2中编辑定时任务接口

在定期作业页面里选中一条job点击编辑定时任务时,这个接口返回了错误,导致该功能不可用。
image
在Hangfire.HttpJob.dll模块中抛出了一个Object reference not set to an instance of an object.异常
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.