You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the provided screenshot, when scheduling Garbage Collection (GC) for every hour with one worker, the GC job appears to be correctly scheduled on an hourly basis. However, while testing this feature in the Harbor swagger, we encountered a response indicating that the cron parameter is mandatory. Could someone help on this?
In the given input parameters "--schedule_type Weekly" and "--schedule_cron "0 30 5 * * *"", the presence of "--next_scheduled_time "2024-01-06T11:50:21.014Z"" seems contradictory or redundant. Could someone clarify its purpose?.
The text was updated successfully, but these errors were encountered:
For Q1 => it is designed to be this for now, when using swagger api, cron string is needed, please set as 0 0 * * * *, otherwise, you could choose via UI to edit the GC cron schedule.
For Q2 => the 2024-01-06T11:50:21.014Z is base on the standard UTC time 12:00 am and converted to your own time zone. And please wait for a few seconds to allow the page update the tine
@MinerYang
Thanks for your response.
For Q2: - I am asking about how a scheduled cron job interacts with the --next_schedule_time parameter. Specifically, if a cron job is scheduled for 5:30 AM, but i provided a --next_schedule_time of, say, 8:07 AM, which time will the job follow? Is it going to start from the provided --next_schedule_time or from the original cron schedule of 5:30 AM?
I need clarification whether the --next_schedule_time parameter overrides the cron schedule or if the cron job still initiates based on its predefined time despite the --next_schedule_time input.?
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.
In the provided screenshot, when scheduling Garbage Collection (GC) for every hour with one worker, the GC job appears to be correctly scheduled on an hourly basis. However, while testing this feature in the Harbor swagger, we encountered a response indicating that the cron parameter is mandatory. Could someone help on this?
In the given input parameters "--schedule_type Weekly" and "--schedule_cron "0 30 5 * * *"", the presence of "--next_scheduled_time "2024-01-06T11:50:21.014Z"" seems contradictory or redundant. Could someone clarify its purpose?.
![gc-harbor](https://private-user-images.githubusercontent.com/155647831/294476303-97cbbc03-c7d2-4c2c-8b36-a58588a0854b.JPG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXR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WRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.vLxx1WB5arIBXBEaorXPY30RpjTU-C0Hq_96U3vL6rg)
The text was updated successfully, but these errors were encountered: