vi로 오픈한다.
/etc/crontab
다음은 50 분마다 다음 경로를 실행한다.
wget을 이용하면 다음 url를 오픈 한다.
50 * * * * root wget -O -q -t 1 url
30분 마다 실행 하려면 ?
다음과 같이 '/' 기호를 사용하면 된다.
*/30 * * * * root wget -O -q -t 1 url
----------------------------------------------------
options
1 : minute (0-59),
2 : hour (0-23),
3 : day of the month (1-31),
4 : month of the year (1-12),
5 : day of the week (0-6 with 0=Sunday).
---------------------------------------------------------
크론탭 수정 후 데몬 리스타트
service crond restart
- Posted
- Filed under Linux