Skip to main content

In-process task scheduler with Cron-like capabilities

Project description

Advanced Python Scheduler (APScheduler) is a light but powerful in-process task scheduler that lets you schedule jobs (functions or any python callables) to be executed at times of your choosing.

This can be a far better alternative to externally run cron scripts for long-running applications (e.g. web applications), as it is platform neutral and can directly access your application’s variables and functions.

The development of APScheduler was heavily influenced by the Quartz task scheduler written in Java. APScheduler provides most of the major features that Quartz does, but it also provides features not present in Quartz (such as multiple job stores).

Features

  • No (hard) external dependencies

  • Thread-safe API

  • Excellent test coverage (tested on CPython 2.4 - 2.7, 3.2 - 3.3, Jython 2.5.2, PyPy 1.8)

  • Configurable scheduling mechanisms (triggers):

    • Cron-like scheduling

    • Delayed scheduling of single run jobs (like the UNIX “at” command)

    • Interval-based (run a job at specified time intervals)

  • Multiple, simultaneously active job stores:

    • RAM

    • File-based simple database (shelve)

    • SQLAlchemy (any supported RDBMS works)

    • MongoDB

Documentation

Documentation can be found here.

Source

The source can be browsed at Bitbucket.

Reporting bugs

A bug tracker is provided by bitbucket.org.

Getting help

If you have problems or other questions, you can either:

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

APScheduler-2.0.3.tar.gz (38.5 kB view details)

Uploaded Source

File details

Details for the file APScheduler-2.0.3.tar.gz.

File metadata

  • Download URL: APScheduler-2.0.3.tar.gz
  • Upload date:
  • Size: 38.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for APScheduler-2.0.3.tar.gz
Algorithm Hash digest
SHA256 2475dae1521a30ab234aac6889fd8ba57f32871cd5a18dfe917f760ee057a64d
MD5 8eddb0c020e8edfaaa4497364b32366c
BLAKE2b-256 3272feb363fe65d1cb5764d153dbcf61b62a65a10f391e12392afeadc63555ee

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page