I am somehow unable to get systemd to run mbsync regularly. I have created
the following files and enabled them.

Would appreciate any pointers about what might be wrong here.

VR

-----

*~/.config/systemd/user/mbsync.service:*

[Unit]
Description=Mbsync synchronization service

[Service]
Type=oneshot
ExecStart= /bin/sh -c "/usr/local/bin/mbsync -V daily"
ExecStartPost=/bin/sh -c 'notmuch new && afew -t -n && afew --move-mails -v
&& echo "notmuch `date`" >> ~/tmp/maillog.log'

[Install]
WantedBy=default.target

*~/.config/systemd/user/mbsync.timer:*

[Unit]
Description=Mysync synchronization timer

[Timer]
OnBootSec=2m
OnCalendar=*:00/2
Unit=mbsync.service

[Install]
WantedBy=timers.target
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to