#!/bin/bash # Export AWS environment variables to /etc/environment printenv | grep '^AWS_' >> /etc/environment # Start cron in the foreground cron -f