Job scheduler for codem-transcode, written in Rails.
Ruby HTML CSS JavaScript
Latest commit bd4da88 Nov 17, 2016 @bartzon bartzon Freezing capybara
Failed to load latest commit information.
bin Rubocop updates Jun 16, 2014
config Renamed config option per deprecation warning Sep 28, 2015
db Upgraded to Rails 4.2.3 Jun 30, 2015
spec Added source/destination file to email output, closes madebyhiro/code… Oct 21, 2015
vendor Added newer bootstrap Jun 4, 2014
.gitignore Ignoring .ruby-* May 21, 2014
.gitmodules Initial import Feb 24, 2011
Gemfile Freezing capybara Nov 17, 2016
Rakefile New init May 4, 2011


Build Status Dependency Status Code Climate

Codem Scheduler

The Codem Scheduler is part of the Codem open source video transcoder platform. This application manages the scheduling and handling of jobs via a webfrontend and an API.

Install instructions

You'll need a Ruby on Rails installation, served by the webserver of your choice. Please note: Ruby 1.9.3 or greater is required, Ruby 2.0 is preferred. See for installation instructions.


The preferred database backend for the Scheduler is either MySQL or SQLite. One of these should be available to the Scheduler. If you're using MySQL, you can enter your connection details in config/database.yml.

If you want to use SQLite, you need to perform some changes. In Gemfile, change mysql2 to sqlite3 and run bundle install. In config/database.yml, remove the username and password, and specify the location of your database. The preferred location is db/codem_schedule_#{environment}.db.

1 Either clone the git repository or download a packaged archive.

$ git clone git://

2 Install the required gems.

$ gem install bundler
$ bundle install

3 Run the installer rake task, which will setup the application.

$ bundle exec rake codem:install

4 Use cron or a similar tool to trigger the status update task. For example, to run the task every 2 minutes, use:

*/2 * * * * curl -s http://localhost:3000/api/schedule

5 Start the server, and you're ready to go!

$ bundle exec rails server

Update instructions

To update the Scheduler to the latest version, just run:

$ bundle exec rake codem:update

API documentation

View the API documentation at


Tests are written in rspec and can be run with

$ bundle exec rspec


Codem-transcode is released under the MIT license, see LICENSE.txt.