OpenClash icon indicating copy to clipboard operation
OpenClash copied to clipboard

luci设置定时任务后,系统日志里报错。

Open NV3S opened this issue 7 years ago • 1 comments

今天看系统日志发现有 Mon Jul 29 10:13:00 2019 cron.err crond[23317]: user root: parse error at 7 用 crontab -l看了下,里面有

root@Openwrt:/koolshare/scripts# crontab -l

0 0 * * 7 /usr/share/openclash/openclash.sh
0 0 * * 1 /usr/share/openclash/openclash_ipdb.sh

这条目最后的 7 是前台luci设置了“周日”的两个定时任务,但其实openwrt里面最后这个字段支持是 0-6(0代表周日)

请确认。

NV3S avatar Jul 29 '19 02:07 NV3S

OK

vernesong avatar Jul 29 '19 12:07 vernesong