summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2023-10-25 19:26:09 -0400
committerSacha Chua <sacha@sachachua.com>2023-10-25 19:26:09 -0400
commitd59da52dc9393893bde212d61cec2d7b52874841 (patch)
treea945d55ab46d43d0ac8a907e7e237d10308adac7
parent0a33736e7a3f6ac88edf41dda534e729dab8b210 (diff)
downloademacsconf-el-d59da52dc9393893bde212d61cec2d7b52874841.tar.xz
emacsconf-el-d59da52dc9393893bde212d61cec2d7b52874841.zip
crontab tweaks
Diffstat (limited to '')
-rw-r--r--emacsconf-stream.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacsconf-stream.el b/emacsconf-stream.el
index 0ac6853..33c0319 100644
--- a/emacsconf-stream.el
+++ b/emacsconf-stream.el
@@ -1119,7 +1119,7 @@ XDG_RUNTIME_DIR=\"/run/user/%d\"
" (plist-get track :uid))
(mapconcat
(lambda (talk)
- (format "%s /usr/bin/screen -dmS play-%s bash -c \"DISPLAY=%s TEST_MODE=%s /usr/local/bin/handle-session %s\"\n"
+ (format "%s /usr/bin/screen -dmS play-%s bash -c \"DISPLAY=%s TEST_MODE=%s /usr/local/bin/handle-session %s | tee -a ~/track.log\"\n"
;; cron times are UTC
(format-time-string "%-M %-H %-d %m *" (plist-get talk :start-time))
(plist-get talk :slug)
@@ -1155,6 +1155,7 @@ If INFO is non-nil, use that as the schedule instead."
(defun emacsconf-stream-cancel-all-crontabs ()
"Remove crontabs."
+ (interactive)
(dolist (track emacsconf-tracks)
(plist-put track :autopilot nil)
(emacsconf-stream-track-ssh track "crontab -r")))