
­­­­­­­­­­­­­­­­­­
<!DOCTYPE html>
<html>
#!/bin/bash

if sudo /usr/bin/pgrep -x crond > /dev/null || sudo /usr/bin/pgrep -x cron > /dev/null;
then
    echo 'crond OK';
    exit 0;
else
    echo 'crond Not OK';
    exit 2;
fi

echo 'crond Condition Not Known';
exit 3;
