From 45b3072d4ba02949e9b50b71ea87e7fb50e98917 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=B8=85=E7=BF=94?= <16699465019@163.com> Date: Tue, 18 Jun 2024 23:27:01 +0800 Subject: [PATCH] =?UTF-8?q?6.18=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../6.18\344\275\234\344\270\232.md" | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 "\347\250\213\345\270\205\347\277\224/6.18\344\275\234\344\270\232.md" diff --git "a/\347\250\213\345\270\205\347\277\224/6.18\344\275\234\344\270\232.md" "b/\347\250\213\345\270\205\347\277\224/6.18\344\275\234\344\270\232.md" new file mode 100644 index 0000000..e0b5709 --- /dev/null +++ "b/\347\250\213\345\270\205\347\277\224/6.18\344\275\234\344\270\232.md" @@ -0,0 +1,59 @@ +每天3:00执行一次 + +```bash +0 3 * * * touch ~/a.txt +``` + +每周六2:00执行 + +```bash +0 2 * * 6 touch ~/a.txt +``` + +每周六1:05执行 + +```bash +5 1 * * 6 touch ~/a.txt +``` + +每周六1:25执行 + +```bash +25 1 * * 6 touch ~/a.txt +``` + +每天8:40执行 + +```bash +40 8 * * * touch ~/a.txt +``` + +每天3:50执行 + +```bash +50 3 * * * touch ~/a.txt +``` + +每周一到周五的3:40执行 + +```bash +40 3 * * 1-5 touch ~/a.txt +``` + +每周一到周五的3:41开始,每10分钟执行一次 + +```bash +41-59/10 3 * * 1-5 touch ~/a.txt +``` + +每天的10:31开始,每2小时执行一次 + +```bash +31 */2 * * * touch ~/a.txt +``` + +每周一到周三的9:30执行一次 + +```bash +30 9 * * 1-3 touch ~/a.txt +``` \ No newline at end of file -- Gitee