Skip to content
Snippets Groups Projects
Verified Commit 271c4778 authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

Fix when to run product validation workflow

parent f9c1f9c6
No related branches found
No related tags found
1 merge request!418Fix issues with validation workflow schedule
...@@ -11,5 +11,5 @@ from gso.services.processes import count_incomplete_validate_products ...@@ -11,5 +11,5 @@ from gso.services.processes import count_incomplete_validate_products
@scheduler(CronScheduleConfig(name="Validate Products and inactive subscriptions", minute="30", hour="2")) @scheduler(CronScheduleConfig(name="Validate Products and inactive subscriptions", minute="30", hour="2"))
def validate_products() -> None: def validate_products() -> None:
"""Validate all products.""" """Validate all products."""
if count_incomplete_validate_products() > 0: if count_incomplete_validate_products() == 0:
start_process("task_validate_geant_products") start_process("task_validate_geant_products")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment