diff --git a/src/freedombone-utils-cron b/src/freedombone-utils-cron index 193b19e8..a942924b 100755 --- a/src/freedombone-utils-cron +++ b/src/freedombone-utils-cron @@ -80,6 +80,7 @@ function randomize_cron { function schedule_stig_tests { echo '#!/bin/bash' > /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 yes' >> /etc/cron.daily/stig_tests chmod +x /etc/cron.daily/stig_tests }