From e78424f58514e8d2d96a623abf4cf05e23790ad9 Mon Sep 17 00:00:00 2001
From: TonyFord <tonyford@strategy-investor.de>
Date: Mon, 2 Mar 2020 11:28:59 +0100
Subject: [PATCH] add update scripts for crontab

---
 script/jekyll_update_orders.bash | 8 ++++++++
 script/jekyll_update_prices.bash | 8 ++++++++
 2 files changed, 16 insertions(+)
 create mode 100644 script/jekyll_update_orders.bash
 create mode 100644 script/jekyll_update_prices.bash

diff --git a/script/jekyll_update_orders.bash b/script/jekyll_update_orders.bash
new file mode 100644
index 0000000..c71b244
--- /dev/null
+++ b/script/jekyll_update_orders.bash
@@ -0,0 +1,8 @@
+#!/bin/bash --login
+source /home/tonyford/.bashrc
+rvm use 2.3.1
+cd /var/www/exchange.faircoin.co/p2p/p2p-fairexchange
+git pull
+cd /var/www/exchange.faircoin.co/p2p/p2p-fairexchange/script
+python3 get_orders.py
+bundle exec jekyll build
diff --git a/script/jekyll_update_prices.bash b/script/jekyll_update_prices.bash
new file mode 100644
index 0000000..30f13d1
--- /dev/null
+++ b/script/jekyll_update_prices.bash
@@ -0,0 +1,8 @@
+#!/bin/bash --login
+source /home/tonyford/.bashrc
+rvm use 2.3.1
+cd /var/www/exchange.faircoin.co/p2p/p2p-fairexchange
+git pull
+cd /var/www/exchange.faircoin.co/p2p/p2p-fairexchange/script
+python3 get_prices.py
+bundle exec jekyll build
-- 
GitLab