dd
This commit is contained in:
parent
a8b62e32c7
commit
a07ad897e7
2 changed files with 6 additions and 1 deletions
|
@ -5,7 +5,6 @@ Description=Create Todoist backups.
|
||||||
OnFailure=todoist_backup_mail.service
|
OnFailure=todoist_backup_mail.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment="TODOIST_TOKEN=geheim"
|
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=10min
|
RestartSec=10min
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
TODOIST_TOKEN=geheim
|
||||||
|
|
||||||
cd /shares_backup/full-offline-backup-for-todoist
|
cd /shares_backup/full-offline-backup-for-todoist
|
||||||
|
|
||||||
python3 -m full_offline_backup_for_todoist --verbose download --with-attachments
|
python3 -m full_offline_backup_for_todoist --verbose download --with-attachments
|
||||||
|
|
||||||
|
|
||||||
|
# TODO shellcheck
|
||||||
|
|
Loading…
Reference in a new issue