瀏覽代碼

Clear temp files daily

Bob Mottram 8 年之前
父節點
當前提交
fffc1cfbe7
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      src/freedombone-utils-cron

+ 1
- 0
src/freedombone-utils-cron 查看文件

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