#For testing
#*/5 * * * * selfdns /usr/bin/selfdns-client
#For production
#*/5 * * * *    selfdns   sleep $(($(hexdump -n 2 -e '/2 "\%u"' /dev/urandom)\%250)) && /usr/bin/selfdns-client 1>>/var/log/yandex-selfdns-client/std.log 2>&1
{% if salt['pillar.get']('data:second_selfdns', False)  %}
#*/5 * * * *    selfdns   sleep $(($(hexdump -n 2 -e '/2 "\%u"' /dev/urandom)\%250)) && /usr/bin/selfdns-client --config /etc/yandex/selfdns-client/second.conf 1>>/var/log/yandex-selfdns-client/std.log 2>&1
{% endif %}
