11 lines
446 B
Python
11 lines
446 B
Python
"""Prefect flow definition and interval schedule.
|
|
|
|
Scaffold stub -- not implemented yet.
|
|
"""
|
|
# TODO (scheduling): implement per CLAUDE.md "Orchestration/scheduling: Prefect".
|
|
# Wrap run_batch() in a @flow with:
|
|
# - Retries on the flow level.
|
|
# - An interval schedule (configurable; default daily).
|
|
# Run with: python -m jobsource.flow
|
|
# Cron fallback (no daemon): */0 6 * * * cd <repo> && ./.venv/bin/python -m jobsource.main --batch-size 50
|