removed substitionon for column character in cronjobs

This commit is contained in:
Serghey Rodin 2014-03-12 23:58:28 +02:00
commit 53abae644f

View file

@ -42,7 +42,7 @@ is_object_valid 'cron' 'JOB' "$job"
#----------------------------------------------------------#
# Concatenating cron string
command=$(echo $command | sed -e "s/'/%quote%/g" -e "s/:/%dots%/g")
command=$(echo $command | sed -e "s/'/%quote%/g")
str="JOB='$job' MIN='$min' HOUR='$hour' DAY='$day' MONTH='$month' WDAY='$wday'"
str="$str CMD='$command' SUSPENDED='no' TIME='$TIME' DATE='$DATE'"