Repository navigation
Added Support for Configurable Time Zones
Release Highlights:
This release introduces support for specifying time zones in the container, allowing cron jobs to execute in the desired timezone instead of defaulting to UTC. The feature enhances scheduling flexibility and better accommodates users in different geographical regions.
New Features
- Time Zone Configuration:
Added theTIME_ZONEenvironment variable to set the desired timezone for cron jobs. For example:By default, the timezone is set to-e TIME_ZONE="Asia/Kolkata"UTC.
Bug Fixes
- Improved cron job setup to ensure environment variables are correctly loaded and utilized.
- Enhanced logging mechanism for better real-time log visibility.
Usage Example
Run a container with a specific timezone:
docker run -d \
-e RCLONE_SOURCE=source:my-source-bucket \
-e RCLONE_DESTINATION=backup:my-destination-bucket \
-e BACKUP_CRON="0 2 * * *" \
-e TIME_ZONE="America/New_York" \
rclone-copy-cronThank you for using rclone-copy-cron! We look forward to your feedback and contributions.