Create advanced dbader/schedule with schedule-filters
Project description
schedule_filter
This repository allows to create advanced dbader/schedule job scheduling
Features
- doing a job at/in the:
- nth day of the year
- nth month of the year
- nth day of a month
- nth week of a month
Examples
- basic:
- monthly:
- doing a job on every second sunday of a month
schedule.every().sunday.do(nth_week_monthly(2, job_func)) - doing a job on every last monday of a month
schedule.every().monday.do(nth_week_monthly(-1, job_func)) - doing a job on every last day of a month
schedule.every().monday.do(nth_day_monthly(-1, job_func)) - doing a job on every 15th of a month
schedule.every().monday.do(nth_day_monthly(15, job_func))
- doing a job on every second sunday of a month
- yearly:
- doing a job on every first day of a year
schedule.every().day.do(nth_day_yearly(1, job_func)) - doing a job on every New Year's Eve
schedule.every().day.do(nth_day_yearly(-1, job_func)) - doing a job every day in april
schedule.every().day.do(nth_month_yearly(4, job_func))
- doing a job on every first day of a year
- monthly:
- advanced:
- doing a job on every Christmas Eve
schedule.every().day.do(nth_month_yearly(12, nth_day_monthly(24, job_func)))
- doing a job on every Christmas Eve
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
schedule_filter-0.2.0.tar.gz
(3.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file schedule_filter-0.2.0.tar.gz.
File metadata
- Download URL: schedule_filter-0.2.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7937913f4cd7d4cb3777809efcd4c287a2e2382ecedc3ff9d7512110537b612
|
|
| MD5 |
bc938940dbdc7a435e3f6f4a8711702e
|
|
| BLAKE2b-256 |
79679445fecbb484c6482cf0380c97acf98410c7cf9f6a17713d68a8762e4e7e
|
File details
Details for the file schedule_filter-0.2.0-py2.py3-none-any.whl.
File metadata
- Download URL: schedule_filter-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 15.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7df685002e5c938519a464fc61774ccc10d6d8c7435f53f250bc1e546b86cd05
|
|
| MD5 |
cb70e75ae3256e60ddc59608dd45db14
|
|
| BLAKE2b-256 |
b940961625b2a47a70daaee31c9b51412bc7705f4bc2ac97b833ca89f80d9a0f
|