cronwhen-0.2
توضیحات
A library computing next occurrence of a cron pattern
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cronwhen-0.2 |
| نام | cronwhen |
| نسخه کتابخانه | 0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Charles Lumet |
| ایمیل نویسنده | charles.lumet@gmail.com |
| آدرس صفحه اصلی | https://github.com/Silverspur/cronwhen |
| آدرس اینترنتی | https://pypi.org/project/cronwhen/ |
| مجوز | GNU General Public License v3.0 |
# cronwhen
Python package to compute next execution date of a cron expression.
```
# Simple example:
import datetime
from cronwhen import cronwhen
base_point = datetime.datetime(2019,10,3,12,49)
expression = cronwhen.CronExpression('59 10-20/3 1,2,6 * *')
expression.get_next_occurrence(base_point)
# --> datetime.datetime(2019,10,6,10,59)
```
نحوه نصب
نصب پکیج whl cronwhen-0.2:
pip install cronwhen-0.2.whl
نصب پکیج tar.gz cronwhen-0.2:
pip install cronwhen-0.2.tar.gz