From fffc1cfbe7c1e22326bc21d6cc9569106a88109c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 3 Jan 2017 21:53:49 +0000 Subject: [PATCH] Clear temp files daily --- src/freedombone-utils-cron | 1 + 1 file changed, 1 insertion(+) 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 }