Skip to content

Validate products

Scheduled task that validates all products and inactive subscriptions in GSO.

validate_products()

Validate all products.

Source code in gso/schedules/validate_products.py
@shared_task
@scheduler(CronScheduleConfig(name="Validate Products and inactive subscriptions", minute="30", hour="2"))
def validate_products() -> None:
    """Validate all products."""
    if count_incomplete_validate_products() > 0:
        start_process("task_validate_geant_products")