SHELL=/bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
MAILTO=mail-root@yandex-team.ru

1-59/2 * * * * root if [ ! -f /tmp/disable-watchdog ]; then wget -T3 -q http://localhost:8080/ping -O - | grep -q "pong" || (killall $QLOUD_APPLICATION; logger -p daemon.err "$QLOUD_APPLICATION restarted")  > /dev/null 2>&1 ; fi
0-58/2 * * * * root if [ ! -f /tmp/disable-watchdog ]; then wget -T3 -q http://localhost:980/ping -O - | grep -q "pong" || (killall $QLOUD_APPLICATION; logger -p daemon.err "$QLOUD_APPLICATION restarted")  > /dev/null 2>&1 ; fi
0  22 * * * root /etc/cron.yandex/remove-excessive-logs.sh


