cron-schedule
Installation
pip install cron-schedule
Usage
from datetime import datetime
import time
from schedule import schedule
def do_some_job():
print('do_some_job...', datetime.now())
schedule.add_job(do_some_job, "* * * * * 15,25")
while True:
schedule.run_pending()
time.sleep(1)
do_some_job... 2022-09-23 15:35:15.152107
do_some_job... 2022-09-23 15:35:25.193932
thanks
Metadata
Release files for cron-schedule 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cron-schedule-1.1.tar.gz | 3.8 kB | Without provenance | Details for cron-schedule-1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cron_schedule-1.1-py3-none-any.whl | Python 3 | none | any | Details for cron_schedule-1.1-py3-none-any.whl |
Total release size: 8.7 kB
Release files / cron-schedule-1.1.tar.gz
| Download URL | cron-schedule-1.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b69da731ed30398a6bb88b4e76fb9fb18931a19fcc439ff4d9299ed4390c405e
|
|
BLAKE2b-256 checksum How to use checksums |
e92c849b750973edf4a2299e2835f0d1c534ae6465cbc5b69ae8df42f7c550f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.10.6 Darwin/21.4.0
|
Release files / cron_schedule-1.1-py3-none-any.whl
| Download URL | cron_schedule-1.1-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e55e928cf9c472aee6d046f05fb2ac7dc78be0a8c3fffa52a6ef2fab3a2d9a48
|
|
BLAKE2b-256 checksum How to use checksums |
8b0e70d464587c9e74e65421baebbced6d1fc250f6e44dcf4e142dd2e5ecd5ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.10.6 Darwin/21.4.0
|
Security for cron-schedule 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.