[김혁중]님이 남기신 글:
>안녕하세요:)
>Jul 12 13:17:00 localhost CROND[6037]: (root) CMD (su - root lynx -source 'http://localhost/throttle-status?content-type=text/html&refresh=60&view=status&command=reset,*' >/dev/null 2>&1)
>Jul 12 13:18:00 localhost crond[595]: (root) RELOAD (cron/root)
>Jul 12 13:18:00 localhost CROND[6043]: (root) CMD (/home/vpopmail/bin/clearopensmtp)
>Jul 12 13:18:00 localhost CROND[6044]: (root) CMD (su - root lynx -source 'http://mydomain.co.kr/throttle-status?content-type=text/html&refresh=60&view=status&command=reset,*' >/dev/null 2>&1)
>Jul 12 13:18:54 localhost 7월 12 13:18:54 crontab[6049]: (root) LIST (root)
>Jul 12 13:19:00 localhost crond[595]: (root) RELOAD (cron/root)
>Jul 12 13:20:00 localhost CROND[6054]: (root) CMD (/usr/sbin/mrtg log > /dev/null 2>&1)
>Jul 12 13:20:00 localhost CROND[6055]: (root) CMD (/home/vpopmail/bin/clearopensmtp)
>Jul 12 13:20:00 localhost CROND[6056]: (root) CMD (/usr/lib/sa/sa1 1 1)
>Jul 12 13:20:50 localhost 7월 12 13:20:50 crontab[6223]: (root) BEGIN EDIT (root)
>Jul 12 13:22:00 localhost CROND[6226]: (root) CMD (/home/vpopmail/bin/clearopensmtp)
>Jul 12 13:22:37 localhost 7월 12 13:22:37 crontab[6223]: (root) REPLACE (root)
>Jul 12 13:22:37 localhost 7월 12 13:22:37 crontab[6223]: (root) END EDIT (root)
>Jul 12 13:23:00 localhost crond[595]: (root) RELOAD (cron/root)
>Jul 12 13:23:00 localhost CROND[6231]: (root) CMD (su - root lynx -source 'http://mydomain.co.kr/throttle-status?content-type=text/html&refresh=60&view=status&command=reset,*' > /dev/null 2>&1)
>와 같이 아까 글 올리기전 테스트시에 테스트되었던 기록이 있습니다.
========================================
su - root
이 부분을 빼세요..
정확히 하려면
su - root -c '/usr/bin/lynx -source ....'
이런식으로 해야 합니다. |