From d59da52dc9393893bde212d61cec2d7b52874841 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Wed, 25 Oct 2023 19:26:09 -0400 Subject: crontab tweaks --- emacsconf-stream.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"))) -- cgit v1.2.3