Skip to content

Commit

Permalink
add log files
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmattgray committed Mar 27, 2024
1 parent 4297abe commit 88f889a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions files/extra-files/etc/rc.d/dsbd_lab
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 88f889a

Please sign in to comment.