From 59d90835d3c277c1be287bbb94443ff3a7d1d777 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Wed, 16 Sep 2020 08:34:43 +0200 Subject: [PATCH] evolution reset calendar function --- .functions.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.functions.sh b/.functions.sh index d1d0a66..ebaf8db 100644 --- a/.functions.sh +++ b/.functions.sh @@ -1,4 +1,11 @@ #!/bin/bash + +function reset_evolution() { + # Reset evolution calendar factory + # When it hangs connecting to EWS calendar outlooko365 + EWS_DEBUG=2 /usr/lib/evolution-data-server/evolution-calendar-factory -w +} + function salt() { if [[ "$1" == "state.apply" ]]; then sudo salt-call --local --file-root "$HOME/salt/states" --pillar-root "$HOME/salt/pillars" "$@" pillar="{username: $USER}"