#!/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_monthly --skip $SKIP --days $DAYS --context '{"reload": "'$reload_arg'", "source": "'$SOURCE'", "vendor_name": "'$VENDOR_NAME'"}' --max_concurrent_flows $MAX_FLOWS
