Fixes #3654 - Fix unexpanded variables from installed cron file

Fixes #3654 - Fix unexpanded variables from installed cron file