Server & OS

ubuntu 14.04 cron log 저장 경로 (crontab)

페이지 정보

본문

 

http://askubuntu.com/questions/624701/where-are-cron-logs-stored-on-ubuntu-14-04



As default, cron's logs saved in /var/log/syslog. It depends on rsyslogd configuration. You can change it:


Go to rsyslog config

cd /etc/rsyslog.d/
sudo nano 50-default.conf

Uncoment line:

#cron.*                         /var/log/cron.log

Save file and restart rsyslog

sudo service rsyslog restart 

Restart your cron daemon for get it's messages from new file

sudo service cron restart
 

관련자료

등록된 댓글이 없습니다.
Today's proverb
무수한 사람들 가운데는 나와 뜻을 같이할 사람이 한둘은 있을 것이다. 그것으로 충분하다. 공기를 호흡하는 데는 들창문 하나로도 족하다. (R. 롤랑)