Skip to main content
# cront

cront is a library that can make the task apps like crontab.

## Installation

Automatic installation:
```bash
$ pip install cront
```

cront is listed in [PyPI](https://pypi.python.org/pypi/cront) and can be installed with pip or easy_install.

Manual installation:
```bash
$ git clone https://github.com/asmodius/cront.git
$ cd cront
$ python setup.py install
```

cront source code is [hosted on GitHub](https://github.com/asmodius/cront)

## Usage

Here is a simple Tornado app:

```python
from __future__ import print_function
import tornado.web
import tornado.ioloop
from cront import cron_task

@cron_task("* * * * *")
def hello_crontab(app):
print("Hello, {0}".format(app))

if __name__ == "__main__":
app = tornado.web.Application()
cron_task.start(app)
tornado.ioloop.IOLoop.current().start()
```

## Using

* [Tornado](http://www.tornadoweb.org/)

## License

* cront license under the [MIT license](https://github.com/gaujin/tornado-crontab/blob/master/LICENSE).
* [Tornado is licensed under the Apache license](https://github.com/tornadoweb/tornado/blob/master/LICENSE).

Metadata

Release files for cront 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cront 0.1.0
File Size Uploaded Provenance
cront-0.1.0.tar.gz 3.4 kB Without provenance Details

Release files / cront-0.1.0.tar.gz

Download URL cront-0.1.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d2e478d81cc7a0f0b7c050cf938f885448c386aed1b4a494cc202bc71f9afa34
BLAKE2b-256 checksum
How to use checksums
1e7f4d627955c9e1ef56cf83c2a07d2176603c663516a5851e75fe5fe1ca1970
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for cront 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

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