# Running checks with different periods ## Example problem We have host machine which runs many virtual LXC machines. And we watch disk size for each machine using dirsize check. Dirsize for hundreds of GBytes takes very long time and makes heavy load on system. ## Solution Disable dirsize (so it will not be run on every check): ~~~ okerrmod --disable dirsize ~~~ Configure /etc/cron.d/okerrmod to run this check daily: ~~~ # run enabled checks every 20 minutes (you already have similar line generated by okerrmod --init) 18,38,58 * * * * root /usr/bin/python3 /usr/local/bin/okerrmod --log /var/log/okerrmod.log # run dirsize check daily at 00:02 2 0 * * * root /usr/bin/python3 /usr/local/bin/okerrmod --log /var/log/okerrmod.log dirsize ~~~