Change crontab between two timezones.
Project description
Change cron between timezones
Usage
convert(cron_expression, source_timezone, target_timezone)
>> from crontzconvert import convert
>> convert('* 0/12 * * *', 'Asia/Shanghai', 'UTC')
'* 16/12 * * *'
TODO
Change day and week when switch timezone
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
crontzconvert-0.1.0.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for crontzconvert-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2443e6bb166b643e6a78a3c6e79f247acbade78662719e130f2622d85225cfd4 |
|
MD5 | b7592e1794a96ed1100752605ea17e8e |
|
BLAKE2b-256 | 205b4f099f993a58fbc24fa374f62fc9e57773ea4c87e0389129c153aaa0636e |