Re: [Rails] how to run a cronjob in rackspace
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 regards!
2012/5/6 honey ruby <emailtohoneyruby@gmail.com>
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 because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home