This commit is contained in:
Patrick Asmus
2026-09-06 19:13:44 +02:00
parent f87c513edd
commit 1d33baf949
+2 -3
View File
@@ -8,9 +8,9 @@
# Web: https://www.cleveradmin.de # Web: https://www.cleveradmin.de
# Repository: https://git.techniverse.net/scriptos/stream-recorder.git # Repository: https://git.techniverse.net/scriptos/stream-recorder.git
# License: MIT # License: MIT
# Version: v2.6.0 # Version: v2.6.1
# Date: 06.09.2026 # Date: 06.09.2026
# Modifications: optionale Dateilöschung nach Upload # Modifications: Doppelte Benachrichtigung entfernt
############################################### ###############################################
set -uo pipefail set -uo pipefail
@@ -706,7 +706,6 @@ run_scheduler() {
if ! is_recording "$job_id"; then if ! is_recording "$job_id"; then
log "INFO" "Scheduler: Starte '${STREAM_NAME}' [${job_id}]" log "INFO" "Scheduler: Starte '${STREAM_NAME}' [${job_id}]"
notify "start" "Geplante Aufnahme" "${STREAM_NAME} - gestartet durch Scheduler"
mark_schedule_started "$job_id" "$occurrence_key" || continue mark_schedule_started "$job_id" "$occurrence_key" || continue
printf '%s\n' "$occurrence_key" > "${PID_DIR}/${job_id}.scheduled" printf '%s\n' "$occurrence_key" > "${PID_DIR}/${job_id}.scheduled"
nohup setsid "$0" ${CONFIG_FILE:+-c "$CONFIG_FILE"} record-run "$job_file" \ nohup setsid "$0" ${CONFIG_FILE:+-c "$CONFIG_FILE"} record-run "$job_file" \