configuration/sup/hooks/before-poll.rb

5 lines
104 B
Ruby
Raw Normal View History

2015-01-05 17:33:59 +01:00
say "Running mbsync..."
2016-06-03 19:10:00 +02:00
if not system "mbsync", "-qq", "ugent", "gmail"
2015-01-05 17:33:59 +01:00
say "mbsync unsuccesful."
end