永洪社区

标题: 调度任务能否通过判断参数的值去执行 [打印本页]

作者: cjy    时间: 2023-1-11 16:36
标题: 调度任务能否通过判断参数的值去执行
我在调度任务设置一个定时任务,每天的8点半执行,能不能设置当我某个参数等于某个值的后去每天执行,不等于这个值的时候不执行调度任务

作者: yhdata_ruby    时间: 2023-1-11 16:41
自定义触发器参考一下https://www.yonghongtech.com/hel ... kcustomtrigger.html
作者: cjy    时间: 2023-1-11 16:56
yhdata_ruby 发表于 2023-1-11 16:41
自定义触发器参考一下https://www.yonghongtech.com/help/Z-Suite/10.0/ch/schedule_taskcustomtrigger.htm ...

这个类名应该怎么填啊

作者: yhdata_ruby    时间: 2023-1-11 16:59
cjy 发表于 2023-1-11 16:56
这个类名应该怎么填啊

参考一下这个呢https://www.yonghongtech.com/help/Z-Suite/10.0/ch/param_task.html
作者: cjy    时间: 2023-1-12 08:09
yhdata_ruby 发表于 2023-1-11 16:59
参考一下这个呢https://www.yonghongtech.com/help/Z-Suite/10.0/ch/param_task.html

不是这个啊,是类名
作者: Silvia    时间: 2023-1-12 08:45
不需要用自定义触发器,用目标值触发器就可以了


作者: yhdata_ruby    时间: 2023-1-12 09:34
cjy 发表于 2023-1-12 08:09
不是这个啊,是类名

就是用户编写好的类文件名称。




欢迎光临 永洪社区 (https://club.yonghongtech.com/) Powered by Discuz! X3.4