#!/bin/bash
#

if cat /var/spool/cron/root | grep clean-cache &> /dev/null ; then
    echo "{\"checkValue\": \"true\",\"checkStatus\": \"OK\", \"msg\": \"There have clean cahce script in crontab\"}"
else
    echo "{\"checkValue\": \"false\",\"checkStatus\": \"fail\", \"msg\": \"There is no clean cahce script in crontab\"}"
fi