RQ Cron
Project description
RQ-Cron
RQ Cron is a cron-like daemon, which can schedule tasks
Requirements
Installation
pip install RQ-Cron
Usage
rq-cron –config /etc/rq_cron.json
Benefits
Simple - uses python internal sched.py
Stateless - don’t store state
Allows intervals < 60 seconds
Saves task execution time in files for monitoring
Example config
Example:
{ "jobs" : [ { "queue": "queue1", "name" : "module1.task1", "interval" : 60 }, { "interval" : 60, "queue": "queue2", "name" : "module2.task1" }, { "cron" : "32 */3 * * *", "name" : "module3.task1" }, ], "status_dir" : "/tmp/rq_cron_status", "default_queue": "queue", "redis" : "localhost" }
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
RQ-Cron-1.0.1.tar.gz
(2.8 kB
view hashes)