fix newline bug in all-crons script.

This commit is contained in:
2023-09-01 14:09:55 +00:00
parent 9028f6d3c0
commit c2b936fb7e
+2 -1
View File
@@ -12,7 +12,8 @@ if [ -z "$FILENAME" ]; then
FILENAME='crontasks.sh'
fi
echo "#!/bin/bash\n" > "$FILENAME"
echo "#!/bin/bash" > "$FILENAME"
echo "" >> "$FILENAME"
# list crontab, remove comments and empty lines,
# expect cron time formatting to be the first 20 characters,