4 LOCKFILE=$TMPDIR/update_org_caldav
8 LOCKIT="with-lock-ex $LOCKOPTS $LOCKFILE"
9 TIMEOUT="timeout -k6m 6m"
10 LOGFILE=~/.log_update_org_caldav
12 ${LOCKIT} ${TIMEOUT} mr -d ~/projects/org-notes up >> $LOGFILE 2>&1
14 ${LOCKIT} ${TIMEOUT} nice -n 19 \
15 emacs --batch --no-init -l ~/org-caldav-setup.el \
17 ## update org files if we've made any changes
18 NO_SAVE_ORG_BUFFERS=1 ${LOCKIT} ${TIMEOUT} nice -n 19 \
19 update_org_files "update_org_caldav" \