Skip to main content

cron-schedule

Package version Supported Python versions

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

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)

Source distribution for cron-schedule 1.1
File Size Uploaded
cron-schedule-1.1.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cron-schedule 1.1
File Interpreter ABI Platform
cron_schedule-1.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page