Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要写一个 cron 表达式,但我真的不知道是否可以写
from 5 to five weeks once at 0am at tuesday
所以今天运行只会从现在开始执行 5 周..
有人知道吗?
5周后运行一次命令?Cron 对此不是很方便,请尝试“at”。
at 00:00 + 5 weeks at> /home/user/command at> ^D