From 2bf10f3455777d70ea313d7e9c4a233d1e99e784 Mon Sep 17 00:00:00 2001 From: dlgt7 <102397160+dlgt7@users.noreply.github.com> Date: Mon, 18 Sep 2023 16:12:12 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E5=88=A9=E7=94=A8Github=20Actions?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=90=8C=E6=AD=A5Fork.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 利用Github Actions自动同步Fork.md | 1 + 1 file changed, 1 insertion(+) diff --git a/利用Github Actions自动同步Fork.md b/利用Github Actions自动同步Fork.md index fe4607f..80a2908 100644 --- a/利用Github Actions自动同步Fork.md +++ b/利用Github Actions自动同步Fork.md @@ -95,6 +95,7 @@ base: 本地仓库 branch 第七个位置:Year 年:区间1970-2099,代表具体年份,但是一般不用,可以直接不写。(为什么到了2099年就停了?) 补充:cron表达式 + 例1:@scheduled (cron="0 0 2 2 * ? *") 表示:每月二号凌晨两点执行。 例2:@scheduled (cron="15,20,40 15-20 2/5 L * ?") 表示:每月的最后一天的凌晨2点开始每隔5小时的第15分钟到第20分钟之间的每分钟的第15,20,40秒执行一次。