X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=update_org_caldav;h=1a74204bd1ab43c29bd4bb71c59a7c3ebc0f8d8a;hb=dcbcee937ad71e91417e60b4288f7396ee7a93f6;hp=e02bf59508a93b43d2acf567aa917d9278a8cc74;hpb=fcb9663af99974099861745c7239333ea6e0eee2;p=bin.git diff --git a/update_org_caldav b/update_org_caldav index e02bf59..1a74204 100755 --- a/update_org_caldav +++ b/update_org_caldav @@ -7,12 +7,14 @@ if [ -n "$PS1" ]; then 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;