forked from mirrors/autodoist
Compare commits
3 Commits
Author | SHA1 | Date |
---|---|---|
earnest ma | 9949984269 | |
earnest ma | 13eb8ad46a | |
Hoffelhas | 67935a5b0c |
|
@ -108,7 +108,7 @@ By setting an alternative time for the end-of-day you can now finish your work a
|
|||
|
||||
Todoist allows the asterisk symbol `* ` to be used to ensure tasks can't be checked by turning them into headers. Now you are able to do this en masse!
|
||||
|
||||
Simply add `** ` or `!* ` in front of a project, section, or top item, to automatically turn all the items that it includes into respectively headers or checkable tasks.
|
||||
Simply add `** ` or `!* ` in front of a project, section, or top item, to automatically turn all the items that it includes into respectively headers or checkable tasks. Note: when used in a project title or section title, Todoist will replace an exclamation mark with an underscore; this functionality should nevertheless still work.
|
||||
|
||||
# Executing Autodoist
|
||||
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
[Unit]
|
||||
Description=Autodoist
|
||||
After=syslog.target
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
RestartSec=5s
|
||||
Type=simple
|
||||
User=earne
|
||||
Group=earne
|
||||
WorkingDirectory=/home/earne/autodoist
|
||||
ExecStart=/home/earne/autodoist/run.sh
|
||||
Restart=always
|
||||
# Environment=
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -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
|
Loading…
Reference in New Issue