Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 29 lines (21 sloc) 1.221 kb
0df8225f »
2009-12-10 Version bump to 0.0.0
1 = Sabbath
2
3 REST interface to beanstalkd (or probably other queues at some point).
4
5 == Usage
6
7 >> sabbath -h
8
e3043e1f »
2009-12-10 much better readme
9 Usage: sabbath [options]
10
11 Options:
12 -p, --port[OPTIONAL] Port (default: 11300)
13 -h, --host[OPTIONAL] Host (default: localhost)
14 -P, --web-port[OPTIONAL] Web port (default: 4848)
15 -H, --web-host[OPTIONAL] Web host (default: 0.0.0.0)
16 -R, --rackup[OPTIONAL] Rackup file (optional)
17 --help Show this help message.
0df8225f »
2009-12-10 Version bump to 0.0.0
18 == Why?
19
4195d210 »
2009-12-10 missing commit
20 This allows you to interface with beanstalk over normal HTTP calls. I've included a really simple example in the +examples+ directory. It consumes
21 and pushes jobs onto a queue from jQuery.
22
e3043e1f »
2009-12-10 much better readme
23 This provides the following routes:
24
25 * /:tube GET -- This lets you get the latest job. If no job is available, the connection will be held open until one becomes available.
26 * /:tube/:id GET -- This lets you get a job by id.
27 * /:tube/:id/release PUT -- This lets you release a job back onto beanstalk.
28 * /:tube/:id DELETE -- This deletes a job from the queue.
29 * /:tube POST -- This lets you create a new job. The post parameter +body+ is expected.
Something went wrong with that request. Please try again.