make 50-cron-config and entrypoint-collector.sh mirrors of each other. This is for ease of maintainability.

related #121
This commit is contained in:
Jason Kulatunga
2022-05-14 22:04:46 -07:00
parent 0c908786e0
commit a35c3bae08
3 changed files with 10 additions and 9 deletions
-6
View File
@@ -1,10 +1,4 @@
#!/usr/bin/with-contenv bash
# Cron runs in its own isolated environment (usually using only /etc/environment )
# So when the container starts up, we will do a dump of the runtime environment into a .env file that we
# will then source into the crontab file (/etc/cron.d/scrutiny.sh)
(set -o posix; export -p) > /env.sh
echo "starting cron"
cron -f -L 15