diff --git a/files/extra-files/etc/rc.d/dsbd_lab b/files/extra-files/etc/rc.d/dsbd_lab index c64e8fc..85b37ab 100755 --- a/files/extra-files/etc/rc.d/dsbd_lab +++ b/files/extra-files/etc/rc.d/dsbd_lab @@ -189,11 +189,11 @@ start_pots() { } start_cronjobs() { - echo "* 9 */1 * * /sbin/zpool status -v -* 12 */1 * * /usr/bin/lockf -t 0 /var/run/scrub-pool.lock /etc/cron.d/scrub-pool.sh -* */1 * * * /usr/bin/lockf -t 0 /var/run/clean-pots.lock /etc/cron.d/clean-pots.sh -*/10 * * * * /usr/bin/lockf -t 0 /var/run/count-pots.lock /etc/cron.d/count-pots.sh -*/2 * * * * /usr/bin/lockf -t 0 /var/run/restart-actions.lock /etc/cron.d/restart-actions.sh" | \ + echo "* 9 */1 * * /sbin/zpool status -v >> /var/log/zpool.log +* 12 */1 * * /usr/bin/lockf -t 0 /var/run/scrub-pool.lock /etc/cron.d/scrub-pool.sh >> /var/log/scrub-pool.log +* */1 * * * /usr/bin/lockf -t 0 /var/run/clean-pots.lock /etc/cron.d/clean-pots.sh >> /var/log/clean-pots.log +*/10 * * * * /usr/bin/lockf -t 0 /var/run/count-pots.lock /etc/cron.d/count-pots.sh >> /var/log/count-pots.log +*/2 * * * * /usr/bin/lockf -t 0 /var/run/restart-actions.lock /etc/cron.d/restart-actions.sh >> /var/log/restart-actions.log" | \ crontab - service cron onestart }