Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abhinavs/scheduler_service
Scheduler as a Service
https://github.com/abhinavs/scheduler_service
Last synced: about 8 hours ago
JSON representation
Scheduler as a Service
- Host: GitHub
- URL: https://github.com/abhinavs/scheduler_service
- Owner: abhinavs
- Created: 2012-10-04T14:55:11.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-10-04T14:55:47.000Z (over 12 years ago)
- Last Synced: 2024-11-17T05:16:50.628Z (2 months ago)
- Language: Ruby
- Size: 93.8 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
Scheduler Service
==================Scheduler Service is a JSON web service for invoking delayed triggers or jobs through callback URLs.
Quick Intro
------------
Once up and running, your clients can call this service with two parameters - callback\_url and scheduled\_for time. It will invoke the callback\_url at the scheduled time.Here is how you will do call the service in Ruby:
``` ruby
require 'rest_client'
require 'json'# call example.com after 5 minutes from now
RestClient.post "http://service_server_name/jobs/new", { :url => "http://www.example.com", :callback_at => Time.now.utc + 300 }.to_json,
:content_type => :json, :accept => :json
```Stack
-----* Sinatra
* MongoDB