Skip to main content

Documentation Index

Fetch the complete documentation index at: https://handbook.polar.sh/llms.txt

Use this file to discover all available pages before exploring further.

Run One-Off Jobs

Render One-Off Jobs run a command in a fresh container using the same image and environment as the worker service. Use them for backfills, data migrations, and other ad-hoc scripts.
One-off jobs cannot be created from the dashboard. Use the Render CLI (brew install render && render login).

Procedure

Run a dry run first (most scripts in server/scripts/ preview without --execute):
render jobs create srv-d4k6otfgi27c73cicnpg \
  --start-command "uv run python -m scripts.backfill_receipts --all" \
  --confirm
Then run for real:
render jobs create srv-d4k6otfgi27c73cicnpg \
  --start-command "uv run python -m scripts.backfill_receipts --all --execute" \
  --confirm
Tail logs:
render logs --resources srv-d4k6otfgi27c73cicnpg --tail