configuration/sup/hooks/before-poll.rb

5 lines
92 B
Ruby

say "Running mbsync..."
if not system "mbsync", "-a", "-qq"
say "mbsync unsuccesful."
end