cat >run-digest.sh <<'EOF' #!/bin/bash source /app/data/config.env ruby /app/data/publish_digest.rb --bot="$1" "${@:2}" EOF chmod +x run-digest.sh