cd /var/etc/persistent/
wget http://community.ubnt.com/ubnt/attachments/ubnt/airOS/28429/1/airos5-crond.tar
tar xvf airos5-crond.tar
อ้างถึง./etc/
./etc/crontabs/
./etc/crontabs/ubnt
./etc/crond.conf
./rc.prestart
./rc.prestart
อ้างถึง#
# /etc/persistent/etc/crontabs/ubnt
# This is the ubnt user's crontab
#
# File Format field values
# +----------------------------------- minute 0-59
# | +------------------------------ hour 0-23
# | | +------------------------- day of month 1-31
# | | | +-------------------- month 1-12
# | | | | +--------------- weekday 0-6
# | | | | | +---------- command
# | | | | | |
# */5 * * * * /do/something/here
0 3 * * * /sbin/reboot
35 9 */2 * * /sbin/reboot
46 13 */3 * * /sbin/reboot
2 5 1 * * /sbin/reboot
45 1 * * 1 /sbin/reboot
save
/usr/etc/init.d/plugin start crond
ps|grep cron
อ้างถึงXM.v5.5.6# ps|grep cron
907 admin 1976 S /usr/bin/crond
cat /etc/crontabs/admin
0 3 * * 0 /sbin/reboot