0
我遇到了一些麻煩建立一個cron進程似乎並不能確定爲什麼我不斷收到這個奇怪的錯誤:問題產生的cron理線
MAILTO="[email protected]"
30 8,9,10,11,12,13,14,15,16,17,18 * * * sh /var/runner/process.sh > /var/runner/data/logs/$(date +"%-H").txt
30 23 * * * sh /var/runner/process.sh > /var/runner/data/logs/$(date + "%-H").txt
我收到的錯誤是:
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
想知道什麼可能是想錯了: -/