diff --git a/src/freedombone-utils-cron b/src/freedombone-utils-cron index f37feea090ad752ae47421b5593fe1dacf4ca080..13e19f55c717ddec468cb5f8cc9f64cf2f891fe2 100755 --- a/src/freedombone-utils-cron +++ b/src/freedombone-utils-cron @@ -82,7 +82,7 @@ function schedule_stig_tests { echo "ADMIN_EMAIL_ADDRESS=${MY_USERNAME}@\${HOSTNAME}" >> /etc/cron.daily/stig_tests echo "pkill ${PROJECT_NAME}-tests" >> /etc/cron.daily/stig_tests echo 'rm -rf /tmp/*' >> /etc/cron.daily/stig_tests - echo "${PROJECT_NAME}-tests --stig fix > /tmp/daily-stig-tests" >> /etc/cron.daily/stig_tests + echo "${PROJECT_NAME}-tests --stig yes > /tmp/daily-stig-tests" >> /etc/cron.daily/stig_tests echo 'if [ ! "$?" = "0" ]; then' >> /etc/cron.daily/stig_tests echo " echo \"\$(cat /tmp/daily-stig-tests)\" | mail -s \"${PROJECT_NAME} STIG test failures\" \$ADMIN_EMAIL_ADDRESS" >> /etc/cron.daily/stig_tests echo 'fi' >> /etc/cron.daily/stig_tests