fi;
LOCKIT="with-lock-ex $LOCKOPTS $LOCKFILE"
TIMEOUT="timeout -k6m 6m"
-${LOCKIT} ${TIMEOUT} mr -d ~/projects/org-notes up >/dev/null 2>&1
+LOGFILE=~/.log_update_org_caldav
+
+${LOCKIT} ${TIMEOUT} mr -d ~/projects/org-notes up >> $LOGFILE 2>&1
${LOCKIT} ${TIMEOUT} nice -n 19 \
emacs --batch --no-init -l ~/org-caldav-setup.el \
- >/dev/null 2>&1
+ >> $LOGFILE 2>&1
## update org files if we've made any changes
NO_SAVE_ORG_BUFFERS=1 ${LOCKIT} ${TIMEOUT} nice -n 19 \
update_org_files "update_org_caldav" \
- >/dev/null 2>&1;
+ >> $LOGFILE 2>&1;