From 1bd1225faee487f7535b2d72dfa881f517f07bc8 Mon Sep 17 00:00:00 2001 From: Andreas Demmelbauer Date: Tue, 2 Apr 2019 13:29:14 -0700 Subject: [PATCH] add cron-example --- cron-example.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 cron-example.sh diff --git a/cron-example.sh b/cron-example.sh new file mode 100644 index 0000000..c249841 --- /dev/null +++ b/cron-example.sh @@ -0,0 +1,8 @@ +#!/bin/bash +MY_PATH="`dirname \"$0\"`" +cd "$MY_PATH" + +# activate virtualenv +source ~/.virtualenvs/feedcake/bin/activate +python3 feedcake.py config.json +deactivate