Sha256: aa56bb02c10ba5f644e241e8949c06bcb63e2c08a571b20d3a626ddde4f86c9d
Contents?: true
Size: 671 Bytes
Versions: 15
Compression:
Stored size: 671 Bytes
Contents
# Use this file to easily define all of your cron jobs. # # It's helpful, but not entirely necessary to understand cron before proceeding. # http://en.wikipedia.org/wiki/Cron # Example: # # set :cron_log, "/path/to/my/cron_log.log" # # every 5.minutes do runner "MailQueue.process" end # add a hook in your deploy file to update the cron after each deploy # config/deploy.rb # after "deploy:symlink", "deploy:update_crontab" # # namespace :deploy do # desc "Update the crontab file" # task :update_crontab, :roles => :db do # run "cd #{release_path} && whenever --update-crontab #{application}" # end # end # Learn more: http://github.com/javan/whenever
Version data entries
15 entries across 15 versions & 2 rubygems