cwd="$(pwd)"
cd "$(dirname "$0")"
export DOTNET_CLI_TELEMETRY_OPTOUT=1
dotnet run --project BackupManager -c Release -f net6.0 -- -cron
cd "$cwd"