diff --git a/src/freedombone-utils-cron b/src/freedombone-utils-cron index 193b19e86edc915d2aaee9d3f4c7103dbf897500..a942924ba3186d85a3e8306404b0249eae5134a2 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 }