xxl-job的dotnet core 执行器实现
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
lztkdr ad792ec329 1. Transient功能修复 2、JobLogger 增加 LogId 3、打包 Kingo.XxlJob.Core v1.0.0 1 month ago
.vscode 🎨 格式化代码 5 years ago
build publish :任务取消支持 (pullrequest#24) 4 years ago
samples/ASPNetCoreExecutor update sample dotnet to version6 1 year ago
scripts 🎨 格式化代码 5 years ago
src/DotXxlJob.Core 1. Transient功能修复 2、JobLogger 增加 LogId 3、打包 Kingo.XxlJob.Core v1.0.0 1 month ago
tests/DotXxlJob.Core.Tests 新增适配xxl-jobv2.2+以上版本 6 years ago
.editorconfig 🎉 第一次提交,添加协议的编解码实现 7 years ago
.gitattributes 🎉 第一次提交,添加协议的编解码实现 7 years ago
.gitignore 🎨 格式化代码 5 years ago
DotXxlJob.sln 新增适配xxl-jobv2.2+以上版本 6 years ago
LICENSE 🎨 格式化代码 5 years ago
README.md 1. Transient功能修复 2、JobLogger 增加 LogId 3、打包 Kingo.XxlJob.Core v1.0.0 1 month ago
README_SRC.md 1. Transient功能修复 2、JobLogger 增加 LogId 3、打包 Kingo.XxlJob.Core v1.0.0 1 month ago
RELEASE_NOTES.md 调整工具 7 years ago

README.md

Kingo.XxlJob.Core

该仓库,基于 https://github.com/xuanye/DotXxlJob 源码基础上,进行扩展改造,原始项目说明,见 README_SRC.md

更新内容:

  1. 修复IJobHandler 注册 AddTransient瞬时服务注册,瞬时不起作用的情况。(2025.2.26)

示例:GTYPackageJobService 服务的 Push_Common_Job 、GetJobNames 重写,原先 GetJobNames 虽然是Transient服务,任务Execute会执行多次,但是GetJobNames 之前只会执行一次,调整后会执行多次。

  1. JobExecuteContext下 的 IJobLogger 增加 LogId 属性,用于通过 LogId 查看Job日志。(2025.2.26)

示例:任务执行后,可能有异常,有时找不到在哪次执行,可记录LogId,后续通过访问链接地址查看当时执行的日志。如 LogId 是 478571085,可访问对应的xjob服务的日志链接地址:https://xxx/xxl-job-admin/joblog/logDetailPage?id=478571085