Browse Source

add a cronjob to trigger the currency updates

currency
Andreas Zweili 4 years ago
parent
commit
0a8e74110f
  1. 4
      Vagrantfile

4
Vagrantfile

@ -43,6 +43,10 @@ Vagrant.configure("2") do |config|
systemctl restart apache2.service
/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
end

Loading…
Cancel
Save