Files

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
将PushZlb表创建在正式库中,
需要推送时插入一条记录
手动推送插入数据如下:
ID Guid
PrjId 项目ID
IsNowDo 写1
IsAutoDo 写0
AutoDoTime 手动推送时 写空
IsProcessed 写0, 默认0
IsDeleted 写0 默认0
CreateTime 当前时间, 默认当前时间

自动推送插入数据如下:
ID Guid
PrjId 项目ID
IsNowDo 写1
IsAutoDo 写1
AutoDoTime 写频率表达式 , 值范围在下面
IsProcessed 写0, 默认0
IsDeleted 写0 默认0
CreateTime 当前时间, 默认当前时间


频率表达式如下:
* * * * * * 每秒
* * * * *	每分钟
0 0 * * * ? 每小时
0 23 ? * MON-FRI 晚上 11:00周一至周五
*/45 * * * * * 每 45 秒
*/5 * * * *	每 5 分钟
0 0/10 * * * ?	每 10 分钟
0-10 11 * * *	上午 11:00 至 11:10 之间的每一分钟
* * * 3 *	每分钟,只在 3 月份
* * * 3,6 *	每分钟,只在 3 月和 6 月
*/5 15 * * MON-FRI	每 5 分钟,下午 0:00 至 03:59周一至周五

占位符	对应表达式	占位符代表含义
@every_second	* * * * * *	一秒钟跑一次
@every_minute	* * * * *	在分钟开始时每分钟运行一次
@hourly	0 * * * *	在小时开始时每小时运行一次
@daily	0 0 * * *	每天午夜运行一次
@midnight	0 0 * * *	每天午夜运行一次
@weekly	0 0 * * 0	周日上午午夜每周运行一次
@monthly	0 0 1 * *	每月在每月第一天的午夜运行一次
@yearly	0 0 1 1 *	每年 1 月 1 日午夜运行一次
@annually	0 0 1 1 *	每年 1 月 1 日午夜运行一次

在线生成 Cron 表达式#
https://cron.qqe2.com/