Skip to main content

Crontab implementation for Errbot

Project description

Requirements

  • Python 2.7,3.4 or 3.5

  • Errbot

Installation

$ pip install errcron
or
$ pip install git+https://github.com/attakei/errcron.git

Usage

1. Extend your plugin by CrontabMixin and activate

class Crontab(BotPlugin, CrontabMixin):
    CRONTAB = [
        '%H 12 errcron.action.post_message #general LunchTime!',
    ]

    def activate(self):
        super(Crontab, self).activate()
        self.activate_crontab()

2. Define your crontab

3. Run

License

Errbot is available as open source software and released under the GPL v3 license.

See full license file.

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

errcron-0.1.1.tar.gz (5.1 kB view hashes)

Uploaded Source

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