Cmd arguments are still missing.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-03-09 17:36:54 +01:00
parent daa07f29bc
commit 20f69cd94c

View File

@@ -1,6 +1,9 @@
#!/usr/bin/env bash
set -Eeo pipefail
echo "Pre-start $@"
echo "Pre-start $1 $2 $3"
echo "Creating CRON entry for rake redmine:send_reminders"
echo "$REDMINE_SEND_REMINDERS_CRON_EXPR root cd /usr/src/redmine && rake redmine:send_reminders days=$REDMINE_SEND_REMINDERS_DAYS RAILS_ENV=production" > /etc/cron.d/redmine
chmod 0644 /etc/cron.d/redmine