Browse Source

Clear temp files daily

Bob Mottram 8 years ago
parent
commit
fffc1cfbe7
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/freedombone-utils-cron

+ 1
- 0
src/freedombone-utils-cron View File

@@ -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
 }