handle recurrenc in taskwarrior pushover script
This commit is contained in:
parent
973e3b3305
commit
a59bc22cc0
1 changed files with 5 additions and 0 deletions
|
@ -93,6 +93,11 @@ in
|
||||||
| ${pkgs.curl}/bin/curl -sS -X POST -H 'Content-Type: application/json' -d @- \
|
| ${pkgs.curl}/bin/curl -sS -X POST -H 'Content-Type: application/json' -d @- \
|
||||||
"https://api.pushover.net/1/messages.json"
|
"https://api.pushover.net/1/messages.json"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [[ ${cfg.recurrence} -eq on ]]
|
||||||
|
then
|
||||||
|
${taskwarriorCommand} sync
|
||||||
|
fi
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
systemd.timers.taskwarrior-pushover = {
|
systemd.timers.taskwarrior-pushover = {
|
||||||
|
|
Loading…
Reference in a new issue