Closed yuanqijing closed 2 months ago
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. If a Velero team member has requested log or more information, please provide the output of the shared commands.
unstale
Describe the problem/challenge you have
Currently, Velero uses robfig/cron library version v1.1.0 which does not support time zone specification for scheduled tasks. Upgrading to robfig/cron version v3.0.0 or higher will allow us to leverage time zone features, providing more flexibility in scheduling backups and other tasks based on different time zones.
Describe the solution you'd like
To implement this feature, the robfig/cron library should be upgraded to v3.0.0 or higher.
Anything else you would like to add:
Here's an example of how the updated cron scheduling might look with time zone support:
velero schedule create NAME --schedule="CRON_TZ=Asia/Tokyo 30 04 * * *"
References: robfig/cron v3 documentation
Environment:
velero version
): Version: v1.13.2kubectl version
): v1.22.15/etc/os-release
):Vote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.