Comments (2)
With some of @ogarcia help(See #28) I finally managed to setup a cronjob on my mac to sync the tasks automatically every 30 minutes during the workday.
I have a cronjob set using crontab -e
that looks like this:
*/30 8-18 * * * cd /<PATH-TO-DIR>/cron_jobs && ./trellowarrior_sync.sh >> /tmp/stderr.log 2>&1
And the script trellowarrior_sync.sh
:
#!/bin/sh
# Cron job that will periodically sync the trello board with taskwarrior
# python 'trellowarrior' package
# Path to the `task` executable. Otherwise, it will through the error in logs that `task`(taskwarrior) is not found
PATH=/usr/local/bin:$PATH
export PATH
# Path to python virtual environment where trellowarrior was installed and configured
/<PATH>/Envs/nvim/bin/trellowarrior --config /<PATH-TO-CONFIG>/.trellowarrior.conf
from trellowarrior.
You can use system tools for this, for example with a systemd timer
from trellowarrior.
Related Issues (20)
- Configuration files order HOT 5
- trellowarrior.py: error: unrecognized arguments: --trello-name HOT 1
- Filtering by the assignee's username HOT 5
- cannot sync - get: ImportError: cannot import name lru_cache HOT 4
- Decoding Unicode HOT 1
- Error when sync deleted card HOT 1
- Help with `sync_projects` to run `trellowarrior sync` HOT 4
- 2 computers with trello questions, current setbacks HOT 2
- Multiple "doing" lists? HOT 4
- [Feature request] Trello description - Taskwarrior annotation
- [Feature request] Trello task's link HOT 1
- Unintended new cards on sync HOT 6
- due date removed in Taskwarrior do not propagate HOT 2
- [low priority] `sync_projects` and `sync_project` ambiguity or a parsing bug when quoting a string HOT 1
- Some problem with 'localtime' HOT 2
- Py-Trello has authentication issues after a recent Trello change HOT 2
- Trellowarrior finds closed boards HOT 2
- Apply a cookiecutter template HOT 4
- Timezone offsets cause due dates to be wrongly changed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trellowarrior.