Skip to content
Snippets Groups Projects
Commit fffc1cfb authored by Bob Mottram's avatar Bob Mottram
Browse files

Clear temp files daily

parent 27ec9e01
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment