diff options
Diffstat (limited to 'include/tests_scheduling')
-rw-r--r-- | include/tests_scheduling | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/tests_scheduling b/include/tests_scheduling index 7b522ec6..937053fd 100644 --- a/include/tests_scheduling +++ b/include/tests_scheduling @@ -27,6 +27,23 @@ ################################################################################# # ATD_RUNNING=0 + CROND_RUNNING=0 +# +################################################################################# +# + # Test : SCHD-7702 + # Description : Check cron daemon + Register --test-no SCHD-7702 --weight L --network NO --description "Check status of cron daemon" + if [ ${SKIPTEST} -eq 0 ]; then + FIND=`ps aux | egrep "( cron$|/cron(d)? )"` + if [ "${FIND}" = "" ]; then + LogText "Result: no cron daemon found" + else + LogText "Result: cron daemon running" + CROND_RUNNING=1 + report "crond_running=1" + fi + fi # ################################################################################# # |