diff --git a/pact_broker/entrypoint.sh b/pact_broker/entrypoint.sh index ff1af97..b29cc19 100755 --- a/pact_broker/entrypoint.sh +++ b/pact_broker/entrypoint.sh @@ -2,7 +2,7 @@ if [ "${PACT_BROKER_DATABASE_CLEAN_ENABLED}" = "true" ]; then echo "Creating crontab with schedule ${PACT_BROKER_DATABASE_CLEAN_CRON_SCHEDULE} to clean database" - echo "${PACT_BROKER_DATABASE_CLEAN_CRON_SCHEDULE} /pact_broker/clean.sh" >> /pact_broker/crontab + echo "${PACT_BROKER_DATABASE_CLEAN_CRON_SCHEDULE} /usr/local/bin/clean" >> /pact_broker/crontab /usr/local/bin/supercronic -quiet -passthrough-logs /pact_broker/crontab & fi