#!/usr/bin/env bash set -e # If the script has any arguments, invoke the CLI instead if [ "$#" -gt 0 ]; then recyclarr "$@" else echo "Starting cron schedule..." echo "$CRON_SCHEDULE /cron.sh" > /tmp/crontab supercronic -passthrough-logs /tmp/crontab fi