This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A scheduling plugin for twisted

Project Description

Motivation

Twisted provides excellent support for creating delayed calls and looping calls, but when a daemon runs for extended periods of time, it is often necessary to schedule tasks to run in a manner that would be more easily described by a schedule instead of a number of seconds delay. The twistedschedule module provides an interface for describing a schedule and a single implementation, a subset of the cron schedules from linux/Unix. In order to use these schedules, a ScheduledCall class has been created that acts like the twisted.internet.task.LoopingCall class. In the future, an extension of the twisted.application.internet.TimerService may be provided that would use the ScheduledCall instead of LoopingCall to provide a similar service.

Cron

The cron syntax used follows the crontab syntax listed on the Wikipedia page with the exceptions of the names of the days of the week which is not supported and the shortcuts which are also not supported.

http://en.wikipedia.org/wiki/Cron

1.0b1

  • twistedschedule.task.ScheduledCall completed
  • twistedschedule.cron.CronSchedule completed
  • unittests added for twistedschedule.task.ScheduledCall
  • unittests added for twistedschedule.cron

0.1

Planning phase. A few different ideas were tested before deciding upon the current implementation.

Release History

Release History

This version
History Node

1.0b1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
twistedschedule-1.0b1.tar.gz (11.1 kB) Copy SHA256 Checksum SHA256 Source Dec 10, 2008

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting