diff --git a/src/cluster/ffmpeg_apps/schedule_cleanup.py b/src/cluster/ffmpeg_apps/schedule_cleanup.py index c361cbb..f3d0900 100644 --- a/src/cluster/ffmpeg_apps/schedule_cleanup.py +++ b/src/cluster/ffmpeg_apps/schedule_cleanup.py @@ -15,10 +15,9 @@ with ffmpeg_worker_image.imports(): # runs daily at 3 am (Hong Kong time) @app.function( volumes={hls_recording_mount_point: hls_recording_volume}, - schedule=modal.Cron("0 3 * * *", timezone="Asia/HongKong") + schedule=modal.Cron("0 3 * * *", timezone="Asia/Hong_Kong") ) def storage_cleanup(): - # todo: clean up storage output_dir = f"{config.modal_environment}/records/hls/" volume_output_dir = f"{hls_recording_mount_point}/{output_dir}"