From 5664e052ad88030aefec5289a9335ae78809b297 Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Tue, 12 Apr 2022 08:14:53 -0400 Subject: [PATCH] different way of installing the crontab to use dynamic user --- scripts/install_services.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_services.sh b/scripts/install_services.sh index 9ae5912..8ef7cff 100755 --- a/scripts/install_services.sh +++ b/scripts/install_services.sh @@ -417,7 +417,7 @@ EOF } install_cleanup_cron() { - cat $my_dir/templates/cleanup.cron >> /etc/crontab + sed "s/\$USER/$USER/g" $my_dir/templates/cleanup.cron >> /etc/crontab } install_services() {