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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lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.upK8xzAbIFfNge4gszgN7xKvYoYZQHA4D_2osrejRpc)
The text was updated successfully, but these errors were encountered: