|
@@ -80,6 +80,7 @@ function randomize_cron {
|
80
|
80
|
function schedule_stig_tests {
|
81
|
81
|
echo '#!/bin/bash' > /etc/cron.daily/stig_tests
|
82
|
82
|
echo "pkill ${PROJECT_NAME}-tests" >> /etc/cron.daily/stig_tests
|
|
83
|
+ echo 'rm -rf /tmp/*' >> /etc/cron.daily/stig_tests
|
83
|
84
|
echo '${PROJECT_NAME}-tests --stig yes' >> /etc/cron.daily/stig_tests
|
84
|
85
|
chmod +x /etc/cron.daily/stig_tests
|
85
|
86
|
}
|