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
 

관련자료

댓글 0
등록된 댓글이 없습니다.
Today's proverb
나는 단지 한 사람의 인간에 불과하다. 그렇더라도 나는 어디까지나 인간이다. 나는 모든 것을 다 할 수는 없다. 그렇더라도 나는 어떤 것은 할 수 있다. 그리고 모든 것을 다 할 수 없다고 해서 내가 할 수 있는 어떤 것까지 포기하지는 않을 것이다. (에드워드 에버렛 해일)