You're offline — showing cached data

Process New Recordings

process-recordings
2026-06-13 06:09:22 SAST
← Back to Tasks

OVERRIDES runtime profile: mixed direct API usage — Gemini for ASR transcription, Anthropic SDK direct call for note generation. Never invokes claude CLI. Profile set to direct_mixed so the scheduled-tasks page reflects actual providers.

Nightly job that checks G:/My Drive/Recordings/ for new audio files, transcribes them with Gemini, generates meeting notes with Claude, uploads transcripts back to GDrive, and commits notes to CoWork git repo. Skips if no new recordings found.

Runs DETACHED via an explicit subshell (...) < /dev/null >> log 2>&1 &. Redirections are attached to the subshell itself so its stdout/stderr fds are swapped to the log BEFORE the async list runs — otherwise bash spawns an implicit wrapping subshell for A && B & that keeps the scheduler's capture_output pipe open until B finishes, causing a 120s subprocess.TimeoutExpired even though the python child is healthy (see MC-965 2026-04-19, MC-991 2026-04-20). Previous attempts: nohup ... & disown (held pipe via do_wait) and setsid ... & with inner redirections (pipe still held by the AND-OR subshell). A separate flock prevents overlapping runs; timeout --kill-after=30 7200 hard-caps the detached run at 2h. Output tailed in ~/workspace/logs/process-recordings.log. Blocking the scheduler caused radio-daily-brief to miss its 05:00 slot on 2026-04-17 and 2026-04-18.

Daily at 00:000 0 * * *
Yes
shell
120s
No
in 18h (2026-06-14 00:00)

Task Definition

tasks/process-recordings.md
shell
set
No
No
(cd /home/lucienne/workspace && setsid /usr/bin/flock -n /tmp/process-recordings.lock /usr/bin/timeout --kill-after=30 7200 python3 scripts/process_recordings.py) < /dev/null >> /home/lucienne/workspace/logs/process-recordings.log 2>&1 &

Edit Schedule

Result:
8
Runs (7d)
8
Completed
0
Failed
0
Timeout
100%
Success (7d)
0s
Avg Duration
secondbrain meetings transcription

Run History (8)

StartedFinishedStatusDurationOutputLog
6h ago 6h ago completed 0s
View log
1d ago 1d ago completed 0s
View log
2d ago 2d ago completed 0s
View log
3d ago 3d ago completed 0s
View log
4d ago 4d ago completed 0s
View log
5d ago 5d ago completed 0s
View log
6d ago 6d ago completed 0s
View log
7d ago 7d ago completed 0s
View log

Comments (0)

No comments yet — add instructions for Luci
Help