From b0ef861e795172d8a80699c33d673fdd6b57e3f5 Mon Sep 17 00:00:00 2001 From: holzi1005 Date: Wed, 22 Jan 2025 17:04:45 +0100 Subject: [PATCH] Fix the command to crontab --- cron_create.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron_create.sh b/cron_create.sh index c754d8f..483c7cd 100644 --- a/cron_create.sh +++ b/cron_create.sh @@ -2,6 +2,6 @@ # Schleife über alle ENV-Variablen, die mit VAR_ beginnen env | grep '^CRON_COMMAND_' | while IFS= read -r line; do - echo "$line" >> /var/crontab + echo "$line" | cut -d "=" -f2 >> /var/crontab echo "" >> /var/crontab done