This is a development cron daemon. It's intended as a debugging tool when
developing anything cron based where it would be difficult to use normal cron or
when cron runs must be modified for the dev environment.
For example, I have a django project that uses cron to run periodic tasks. The
crontab is in the source tree so it can be managed and deployed with the code.
While doing dev work, I need to run the cron tasks locally and modify the path
of the commands. The crontab looks something like:
# devcron delete_str /usr/local/bin/
* * * * * /usr/local/bin/update-stats.py && \
/usr/local/bin/publish-stats.py
That works normally on the production server and when I'm working, I run:
`devcron.py my-crontab`
and it will run update-stats.py in the working directory (my development tree)
once a minute.
You can install with:
`pip install devcron`
developing anything cron based where it would be difficult to use normal cron or
when cron runs must be modified for the dev environment.
For example, I have a django project that uses cron to run periodic tasks. The
crontab is in the source tree so it can be managed and deployed with the code.
While doing dev work, I need to run the cron tasks locally and modify the path
of the commands. The crontab looks something like:
# devcron delete_str /usr/local/bin/
* * * * * /usr/local/bin/update-stats.py && \
/usr/local/bin/publish-stats.py
That works normally on the production server and when I'm working, I run:
`devcron.py my-crontab`
and it will run update-stats.py in the working directory (my development tree)
once a minute.
You can install with:
`pip install devcron`
Metadata
Release files for devcron 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| devcron-0.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Release files / devcron-0.4-py2.py3-none-any.whl
| Download URL | devcron-0.4-py2.py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
78fd936f2b48c100d73eb391abd37ca4e31ebaaac99c6a513f3d1f9f96194d9f
|
|
BLAKE2b-256 checksum How to use checksums |
be1353fa46ecc0bdbaef9abdfd60856fb16857324e2c1c08c9d05758e6ff90b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for devcron 0.4
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.