django-easy-schedule
Integration of Python schedule library with Django
Installation
Add "django_easy_schedule" to your INSTALLED_APPS settings like this:
INSTALLED_APPS = (
"django_easy_schedule",
...
)
Usage
Create a file named jobs.py in any installed app, like this:
from schedule import every, repeat
@repeat(every(1).seconds)
def run_job():
try:
## Do your work here
pass
except KeyboardInterrupt:
pass
Running jobs
To run the jobs use the following command
python manage.py jobs run
More documentation
For more information check the documentation of schedule package.
Metadata
Release files for django-easy-schedule 0.1.7
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 |
|---|---|---|---|---|
| django-easy-schedule-0.1.7.tar.gz | 3.9 kB | Without provenance | Details for django-easy-schedule-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_easy_schedule-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for django_easy_schedule-0.1.7-py3-none-any.whl |
Total release size: 9.2 kB
Release files / django-easy-schedule-0.1.7.tar.gz
| Download URL | django-easy-schedule-0.1.7.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eeed24371abc6e7707cca0906b8da5f7710fe778bf6cded8226eeb089ebaebae
|
|
BLAKE2b-256 checksum How to use checksums |
1deb20283c80d7f7370ea4ff19efdf7aaf5df1000a7dd4c22eff7287d5378a8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Release files / django_easy_schedule-0.1.7-py3-none-any.whl
| Download URL | django_easy_schedule-0.1.7-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb2ec8d828ad0e6f69ffa43767d4059551b0c30a11071ffe6a7bdf716e32be17
|
|
BLAKE2b-256 checksum How to use checksums |
a4f86261dc0acec172938850f0cfb445edd6de58a76963deb86df7030b255165
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Security for django-easy-schedule 0.1.7
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.