From 13eb8ad46a92612648e204123c166f33d9bb5f89 Mon Sep 17 00:00:00 2001 From: earnest ma Date: Thu, 19 May 2022 15:02:43 -0400 Subject: [PATCH] Add script to run --- run.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 run.sh diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..c8e6425 --- /dev/null +++ b/run.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +if [ ! -d venv ]; then + echo "Creating virtualenv and installing requirements" + python3 -m venv venv + venv/bin/pip3 install -r requirements.txt +fi + +venv/bin/python3 autodoist.py \ + -a $(cat .api-token) \ + -l Next \ + -r 2 \ + -e 1 \ + --delay 7