Jira: SLOP-7
Problem: update_cron.sh builds a cron line with sh -c '$job_command'. If the container label cron.*.command contains a single quote, the generated line is malformed and can run the wrong command or fail.
Fix: Escape single quotes in $job_command when embedding in the sh -c string (e.g. replace ' with ''').
Jira: SLOP-7
Problem: update_cron.sh builds a cron line with
sh -c '$job_command'. If the container label cron.*.command contains a single quote, the generated line is malformed and can run the wrong command or fail.Fix: Escape single quotes in $job_command when embedding in the sh -c string (e.g. replace ' with ''').