hi Rodriguez
when i am trying wheneverize gem i use this command sudo rake gems:install
and i get this message
WARNING: 'require 'rake/rdoctask'' is deprecated. Please use 'require
'rdoc/task' (in RDoc 2.4.2+)' instead.
at /usr/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
You can take a look at the whenever gem, it provides a nice way to manage
cron jobs through ruby and if you are deploying using capistrano you just
need to add this two lines to your deploy.rb file:
set :whenever_command, bundle exec whenever
require whenever/capistrano
Give it a try =D
Best
thanks Rodriguez for your reply i am using rails 2.3.8 does whenever will
work in 2.3.8. i tried but i am missing something i can not run a file with
whenever i was following this link
http://railscasts.com/episodes/164-cron-in-ruby can you plz help me
out.asyou said to add those 2 line in
hi everyone im trying to run the cronjob in rackspace server can
anyone help me out how to run cronjob. before i used host getter
server to run cronjobs with the help of cpanel when it comes to
rackspace there is no cpanel .help me out guys..
thanks in advance
--
You received this message
4 matches
Mail list logo