commit f804fe68ea07a9ac3ea7b7a4667feca1dc116cbb parent fac2a31f52c3db78b96f61d147fde5b1fb88fb04 Author: Pablo Cárdenas <pablo.cardenas@imca.edu.pe> Date: Sat, 12 Feb 2022 10:53:18 -0500 Added bugwarrior systemd-timer Diffstat:
| A | linux/.config/systemd/user/bugwarrior-pull.service | | | 9 | +++++++++ |
| A | linux/.config/systemd/user/bugwarrior-pull.timer | | | 9 | +++++++++ |
2 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/linux/.config/systemd/user/bugwarrior-pull.service b/linux/.config/systemd/user/bugwarrior-pull.service @@ -0,0 +1,9 @@ +[Unit] +Description=bugwarrior-pull + +[Service] +ExecStart=/usr/bin/sh -c "/home/pablo/.local/bin/bugwarrior-pull && task sync" +Type=oneshot + +[Install] +WantedBy=default.target diff --git a/linux/.config/systemd/user/bugwarrior-pull.timer b/linux/.config/systemd/user/bugwarrior-pull.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Run bugwarrior-pull hourly and on boot + +[Timer] +OnBootSec=15min +OnUnitActiveSec=1h + +[Install] +WantedBy=timers.target