
다른 호스트에 동일한 작업을 설치했는데 제대로 작동하기 때문에 crontab 파일에서 사용하는 구문이 정확하다고 확신합니다. 구문은 다음과 같습니다.
05 10 * * mon,wed,fri /app/aban/scripts/remove_log.sh >> /app/aban/scripts/remove.log 2>&1
추가적으로 나는 이것을 시도했다:
* * * * * /app/aban/scripts/remove_log.sh
오류는 다음과 같습니다
crontab: installing new crontabempty one
"/tmp/crontab.fuqF5D":0: bad minute
errors in crontab file, can't install.
Do you want to retry the same edit? n
crontab: edits left in /tmp/crontab.fuqF5D
저는 "aban" 사용자로 로그인되어 있습니다. 동일한 사용자 로그인을 사용하여 다른 호스트에 cronjob을 설치할 수 있습니다.
어떤 제안이 있으십니까?