●blog/ posts/ Run cron in tinycore
♨ 카랜더 일정 :
링크
첨부
본문
●blog/ posts/ Run cron in tinycore
To activate cron in TinyCore use following steps to set it up:
Add following entry to /opt/bootlocal.sh to startup cron automatically after each boot
crond -L /dev/null 2>&1
Using crontab -e as tc user add following crontab entry:
SHELL=/bin/sh
PATH=/usr/sbin:/usr/bin
# run a script each minute
# use absolute paths to point to scripts
* * * * * sh /home/tc/bin
Add the crontabs to .filetool.sh file to be able to backup crontabs:
echo var/spool/cron >> /opt/.filetool.lst
Run the backup script to backup manually (it is better to be safe then sorry):
filetool.sh -d
filetool.sh -b
Reboot the TinyCore guest
After the reboot verify the crontabs have been restored from backup running:
crontab -l
☞ https://11q.kr 에 등록된 자료 입니다. ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다♠
뷰PDF 1,2
office view
관련자료
-
링크
-
이전
-
다음
댓글목록
등록된 댓글이 없습니다.