add a cronjob to trigger the currency updates

This commit is contained in:
Andreas Zweili 2018-01-13 09:37:38 +01:00
parent 012e4ff148
commit 0a8e74110f
1 changed files with 4 additions and 0 deletions

4
Vagrantfile vendored
View File

@ -43,6 +43,10 @@ Vagrant.configure("2") do |config|
systemctl restart apache2.service systemctl restart apache2.service
/vagrant/ansible/roles/web_AI-5/tasks/setup_script.sh /vagrant/ansible/roles/web_AI-5/tasks/setup_script.sh
#insert the currency update cronjob
echo "wget -O /dev/null http://localhost:8080" > /etc/cron.hourly/currency_update
chmod +x /etc/cron.hourly/currency_update
SHELL SHELL
end end