I've managed to solve the issue by adding timeout
of 86400 seconds which is equivalent to 1 day.
check program check_something with path "/root/scripts/check_something.sh"
if status > 10 then alert
if status > 10 with timeout 86400 seconds then alert