共计 456 个字符,预计需要花费 2 分钟才能阅读完成。
* */1 * * * /etc/init.d/smb restart
0 */1 * * * /etc/init.d/smb restart
这两个哪个是正确的?注意标红的地方
上一篇: 我帮新疆留守儿童买了一部手机
下一篇: 反贼电影库(反正我绝大部分是找不到)
0 * * * * /etc/init.d/smb restart
这样不就行了吗 0 */1 * * *
一般都会先用 https://crontab.guru/ 去检查 1 * * * * * /etc/init.d/smb restart
不应该是这样吗,?* * 0/1 * * ? 这样子吧 https://tooltt.com/crontab/c/29.html0 * * * * 二楼正解 0 * * * *
0 */1 * * *https://crontab.guru/#0_*/1_*_*_*
0 */1 * * *
next at 2023-01-07 22:00:00
then at 2023-01-07 23:00:00
then at 2023-01-08 00:00:00
then at 2023-01-08 01:00:00
then at 2023-01-08 02:00:00 复制代码
正文完