whenever Questions

2

Solved

I'm using whenever gem for crone job but when I run it : cd ~/my_project whenever I get error /home/tomi/.rvm/gems/ruby-2.0.0-rc1@my_projcet/bundler/gems/rails-d1904aff6f04/activesupport/lib/a...
Antilogy asked 14/2, 2013 at 17:14

6

delayed_job is at http://github.com/collectiveidea/delayed_job Can delayed_job have the ability to do cron task? Such as running a script every night at 1am. Or run a script every 1 hour. If not,...
Didactics asked 2/9, 2010 at 23:55

4

This is my first time scheduling a task and I am not sure of the best implementation (or the proper implementation). My Goal: I have a ruby on rails 4 app setup with twilio and deployed on Heroku...
Ecumenicalism asked 30/4, 2014 at 2:57

3

Solved

My ruby is in /usr/local/bin. whenever can't find it, and setting PATH at the top of my cron file doesn't work either, I think because whenever is running the command inside of a new bash instance....
Moisesmoishe asked 29/4, 2011 at 18:9

3

Solved

My linux server is running a Rails 4 app with Nginx/unicorn. I am using the Whenever gem to schedule tasks. Everything was working normally until a couple of days ago when the cron jobs appear to ...
Xochitlxp asked 1/11, 2013 at 14:16

2

I have a bunch of cronjobs managed by whenever. Everything works fine, but I have a few hourly cronjobs that are all triggered at the same time, so I'd like to stagger them. Worst case scenario I'm...
Nynorsk asked 18/12, 2012 at 6:17

2

Solved

I'm using Whenever gem to run a rake task. When I run rake task it runs under development environment, but when it runs on a scheduled time it refers to a production environment. How can I force to...
Create asked 28/6, 2013 at 5:2

2

Solved

I'm using the gem whenever and I can't get my runner instruction working. I'm getting this error: /Users/bl0b/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.11/lib/rails/commands/runner.rb:53:in `ev...
Serapis asked 5/2, 2013 at 15:0

4

I am using whenever gem with rails 3. On my production server (ubuntu) , the runner task does not run. I tried setting the :set job_template to get -l -i as mentioned in this github ticket. However...
Zoochore asked 18/4, 2011 at 2:44

6

Users subscribe to emails containing the last videos, but they also set when to get those emails. Subscription(user_id, frequency, day, time, time_zone) user_id | frequency | day | time | time_zo...
Punke asked 19/2, 2013 at 18:18

1

Solved

In my schedule.rb file I have the following lines: set :output, '/log/cron_log.log' every 5.minutes do command 'echo "hello"' end I ran whenever -w as suggested in this question Rails, using w...
Plassey asked 30/1, 2013 at 20:14

5

Solved

This question will probably only make sense if you know about the whenever gem for creating cron jobs. For my app, I want to use whenever in all the environments, including testing and developmen...
Commemorative asked 16/8, 2011 at 20:23

2

Solved

Is it possible to use cron (via the whenever gem) to run tasks directly on mountable engine models. The cron I think would not be able to start from the main app since mountable engines are suppose...
Phthalocyanine asked 25/8, 2012 at 10:10

1

Solved

I am using: Ruby 1.9.2 whenever 0.7.2 capistrano 2.9.0 capistrano-ext 1.2.1 I am using whenever in conjunction with Capistrano on deploys to manage my crontab files. I noticed that it complete...
Feoff asked 11/4, 2012 at 19:0

2

Solved

We have a large deployment of around a dozen servers. We'd like to use the Whenever gem but I can't figure out a way to say which machine the cron jobs should go on! We only want these jobs to run ...
Brant asked 21/2, 2011 at 10:57

1

Solved

i'm using whenever to schedule tasks for a rails application. I have a task like: every 24.hours do command "do_this" rake "do_that" end my point is, when i write it to my crontab, with whene...
Burma asked 8/5, 2011 at 16:24

1

Solved

I would like to control my cron jobs through my administration page. Basically I have my cronjobs in my database, and I would like to create my crontab "on the fly". Here's an example: require "#...
Guile asked 6/1, 2011 at 17:44

1

I have not used cron before, so I can't be sure that I did this right. The tasks I want to be automated don't seem to be running. I did these steps in the terminal: sudo gem install whenever chan...
Lemuroid asked 13/10, 2010 at 21:25

1

Solved

I have a file called config.yml in my /config folder of my rails application. I also have an initializer: config/initializers/load_config.rb with the following code: APP_CONFIG = YAML.load_file("#...
Cao asked 28/3, 2010 at 21:24

© 2022 - 2024 — McMap. All rights reserved.