Skip to content

A live bird collage card for your Home Assistant dashboard.

different way of installing the crontab to use dynamic user

mcguirepr895664e052ad88
diff --git a/scripts/install_services.sh b/scripts/install_services.sh
index 9ae5912a..8ef7cff5 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() {