"""Celery Beat schedule configuration for PI FYAD."""

from celery.schedules import crontab

PI_FYAD_CELERY_SCHEDULES = {
    "pi_fyad_sync_planets": {
        "task": "aa_pi_fyad.tasks.sync_all_planets",
        "schedule": crontab(minute="*/15"),
    },
    "pi_fyad_cleanup_stale": {
        "task": "aa_pi_fyad.tasks.cleanup_stale_data",
        "schedule": crontab(hour=4, minute=0),
        "kwargs": {"days": 30},
    },
}
