01 * * * * root run-parts /etc/cron.minutely
02 * * * * root run-parts /etc/cron.minutely
.
.
.
.
.
.
.
.
.
59 * * * * root run-parts /etc/cron.minutely
이런 식으로 하시면 문제가 없을 듯 하네요...
:
: 분마다 db를 업데이트 시켜주는 cron을 만들려구 하는데
: 도와주세요
:
: 01 * * * * root run-parts /etc/cron.hourly
: 02 4 * * * root run-parts /etc/cron.daily
: 22 4 * * 0 root run-parts /etc/cron.weekly
: 42 4 1 * * root run-parts /etc/cron.monthly
:
: crontab파일에 이렇게 기본설정이 되어있습니다
:
: * * * * * root run-parts /home/abc/public_html/minutely_update.php
: crontab파일에는 위에서 처럼 파일을 써놨더니 안됩니다
:
: 그래서 !!!!!!
: crontab 파일에 * * * * * root run-parts /etc/cron.minutely
:
: 쓰고 /etc/cron.minutely 디렉토리 밑에 db_update.cron파일에
: lynx /home/ass/update.php 써넣었습니다
: 그랬더니 아래와같은 에러가 나면서 되지 않네요
:
: crontab -u root textile_db_update.cron
: "textile_db_update.cron":3: bad minute
: errors in crontab file, can't install.
:
: 알려주세요!!!!!!!!!!!!!!!!1
: 답변기다릴께요--리눅스와 자동차 http://www.roogi.com By Oh Sung Rok