Commit 523628c6 authored by Brian Neel's avatar Brian Neel

Modified crontab

parent cb58ec46
......@@ -3,6 +3,7 @@
1 1 * * * /usr/bin/ruby /root/fetch.do.dev.rb > /root/do.dev.ips.txt
2 1 * * * /usr/bin/ruby /root/fetch.do.githost.rb > /root/do.githost.ips.txt
3 1 * * * /usr/bin/ruby /root/fetch.do.prod.rb > /root/do.prod.ips.txt
0 2 * * * /bin/cat /root/azure.all.ips.txt /root/do*ips.txt /root/ec2.ips.txt > /root/all.ips.txt
0 3 * * 6 export PRIVATE_SUBDIR="gitlab";/usr/local/sbin/greenbone-nvt-sync && service openvas-manager restart && service openvas-scanner restart && sleep 10 && /usr/local/sbin/openvasmd --rebuild; export OV_PASS='<password>';export OV_USER='<username>'; /usr/bin/ruby /root/update_scanner.rb "GitLab All Assets" "/root/all.ips.txt"
0 2 * * * /bin/cat /root/azure.all.ips.txt /root/do.dev.ips.txt /root/do.prod.ips.txt /root/ec2.ips.txt > /root/all.ips.txt
0 3 * * 6 export PRIVATE_SUBDIR="gitlab";/usr/local/sbin/greenbone-nvt-sync && service openvas-manager restart && service openvas-scanner restart && sleep 10 && /usr/local/sbin/openvasmd --rebuild; export OV_PASS='<password>';export OV_USER='<user>'; /usr/bin/ruby /root/update_scanner.rb "GitLab All Assets" "/root/all.ips.txt"
0 1 * * 4 export OV_PASS='<pass>';export OV_USER='<user>'; /usr/bin/ruby /root/update_scanner.rb "GitHost Assets" "/root/do.githost.ips.txt"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment