Skip to main content

Create scheduled tasks at runtime easily

Project description

# pyscheduler
Task Scheduler

Create scheduled tasks at runtime easily.

# Installation

```bash
pip install python-scheduler
```

# Example

```bash
from pyscheduler import schedule

# crawl_task runs in every 2 minutes
@schedule('*/2 * * * *')
def crawl_task():
print 'crawl task'

```

# Important

It won't definitely create any cronjob on the os level. All tasks will be executed on runtime.

Every cron syntax can be used.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-scheduler-0.0.1.tar.gz (2.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page