diff --git a/rootfs/etc/services.d/cron/run b/rootfs/etc/services.d/cron/run old mode 100644 new mode 100755 index 17d4216..767d1a3 --- a/rootfs/etc/services.d/cron/run +++ b/rootfs/etc/services.d/cron/run @@ -4,7 +4,7 @@ # 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) -printenv | sed 's/^\(.*\)$/export \1/g' > /env.sh +(set -o posix; export -p) > /env.sh echo "starting cron" cron -f -L 15