Note:
This script as Custom Monitoring script. Please refer https://wiki.comodo.com/frontend/web/topic/how-to-use-custom-script-procedure-monitoring
And set the custom Monitoring condition duration as 24 Hours
This script run as a custom monitoring script