这是基于vue-vben-admin 模板适用于abp Vnext的前端管理项目
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.
 
 
 
 
 
 
colin 96a41314bf upgrade abp framework to 8.2.0 1 year ago
..
LINGYUN/Abp/BackgroundTasks/ExceptionHandling upgrade abp framework to 7.0.0 3 years ago
FodyWeavers.xml feat(tasks): add job execute exception handler 4 years ago
FodyWeavers.xsd feat(tasks): add job execute exception handler 4 years ago
LINGYUN.Abp.BackgroundTasks.ExceptionHandling.csproj upgrade abp framework to 8.2.0 1 year ago
README.md add background task action: notifications 3 years ago

README.md

LINGYUN.Abp.BackgroundTasks.ExceptionHandling

后台作业执行异常通知实现, 默认使用Email发送通知

配置使用

模块按需引用

[DependsOn(typeof(AbpBackgroundTasksExceptionHandlingModule))]
public class YouProjectModule : AbpModule
{
  // other
}

Action参数

** 在定义作业时在参数中指定如下参数,在作业执行失败时将发送通知

  • to 必须, 接收者邮件地址
  • from 可选, 邮件抬头发送者名称
  • body 可选, 邮件内容(未指定模板名称则为必须参数)
  • subject 可选, 邮件标题
  • template 可选, 邮件模板
  • context 可选, 使用模板时的上下文参数
  • culture 可选, 使用模板时的模板区域性