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.1.0.tar.gz
(3.1 kB
view details)
Built Distributions
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.1.0.tar.gz.
File metadata
- Download URL: schedule_filter-0.1.0.tar.gz
- Upload date:
- Size: 3.1 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.45.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee677cd4c0a90f93fca707c0d4aee0e7466c5d8a35102a7728b596e842eb739a
|
|
| MD5 |
90feee69aee0c10ca4eb93124166abfa
|
|
| BLAKE2b-256 |
ebeea9e64df5b6ec0f86c9b6127024a3a56b2f802cfc6303f15144d9281828e4
|
File details
Details for the file schedule_filter-0.1.0-py3-none-any.whl.
File metadata
- Download URL: schedule_filter-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.4 kB
- Tags: 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.45.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a53c2412daeb78c67cf386b092b9671dd133df35c789e5686c1e76d54759ff6
|
|
| MD5 |
2bf34d21610936bcead4feb03b6a68ff
|
|
| BLAKE2b-256 |
04dc97d1af2c1baddac156a99674ee7a068fa613e137b7e0ed6f7691611603ce
|
File details
Details for the file schedule_filter-0.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: schedule_filter-0.1.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.45.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07c8ed5cd6e0697dda03711e3769e89550cb6ae8d6a04b69debbacfc1942f98b
|
|
| MD5 |
809b15dcb334d079d28183095e0f5c95
|
|
| BLAKE2b-256 |
baa1e1e439940d81948682d251770f1b2dbac6b4dd13713cf11dc0737c4f31c4
|