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 0000000000000000000000000000000000000000..e0b5709607d126e62ae882e30e2189a44d89743a --- /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