#!/bin/bash

set -xe

if [ "$RELOAD" = 'true' ] ; then
  reload_arg='True'
else
  reload_arg='False'
fi

python feed_ingestion/bin/exec_flows.py apple_podcasts_subscription_events --skip $SKIP --days $DAYS --check-status --context '{"reload": "'$reload_arg'", "vendor_name": "'$VENDOR_NAME'"}' --max_concurrent_flows $MAX_FLOWS
