File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/python/goatlib/src/goatlib/tasks Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 20207. Deletes old thumbnails from S3
2121
2222Usage:
23- # As Windmill scheduled task (every 10 minutes):
24- # Configured in registry with schedule="*/10 * * * *"
23+ # As Windmill scheduled task (every 15 minutes):
24+ # Configured in registry with schedule="*/15 * * * *"
2525
2626 # Manual execution:
2727 from goatlib.tasks.generate_thumbnails import ThumbnailTaskParams, main
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ def get_params_class(self: Self) -> type["BaseModel"]:
6868 module_path = "goatlib.tasks.generate_thumbnails" ,
6969 params_class_name = "ThumbnailTaskParams" ,
7070 windmill_path = "f/goat/tasks/generate_thumbnails" ,
71- schedule = "0 */10 * * * *" , # Every 10 minutes (Windmill uses 6-field cron)
71+ schedule = "0 */15 * * * *" , # Every 15 minutes (Windmill uses 6-field cron)
7272 worker_tag = "print" , # Uses print worker with Playwright
7373 ),
7474 TaskDefinition (
You can’t perform that action at this time.
0 commit comments