require File.expand_path(File.dirname(__FILE__) + "/environment") set :output, 'log/cron.log' # 1分毎に回す every 1.minute do command "echo 'mossmossmossmossmossmoss'" end every 3.hours do runner "MyModel.some_process" rake "my:rake:task" command "/usr/bin/my_great_command" end # every 1.day, :at => '4:30 am' do # runner "MyModel.task_to_run_at_four_thirty_in_the_morning" # end # every :hour do # Many