Scheduled stig tests
This commit is contained in:
parent
84d4ffb0f7
commit
d24655a5b3
|
@ -81,7 +81,7 @@ function schedule_stig_tests {
|
||||||
echo '#!/bin/bash' > /etc/cron.daily/stig_tests
|
echo '#!/bin/bash' > /etc/cron.daily/stig_tests
|
||||||
echo "pkill ${PROJECT_NAME}-tests" >> /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 'rm -rf /tmp/*' >> /etc/cron.daily/stig_tests
|
||||||
echo '${PROJECT_NAME}-tests --stig yes' >> /etc/cron.daily/stig_tests
|
echo "${PROJECT_NAME}-tests --stig yes" >> /etc/cron.daily/stig_tests
|
||||||
chmod +x /etc/cron.daily/stig_tests
|
chmod +x /etc/cron.daily/stig_tests
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue