Questions tagged [whenever]

a Ruby gem that makes it possible to define cron tasks in Ruby

whenever is a Ruby gem that makes it possible to write and maintain cron tasks in Ruby, using a simplified and expressive syntax.

Resources

Related Tags

500 questions
-1
votes
1 answer

Capistrano Cron Rails - Crontab created, but not running

Capistrano, Whenever, Rails. Using Whenever and Capistrano I pushed new data to the crontab on my server. $ crontab -l # Begin Whenever generated tasks for: myAPP * * * * * /bin/bash -l -c 'cd /home/.../apps/myAPP/releases/20184..1433 && bin/rails…
Marcus
  • 9,032
  • 11
  • 45
  • 84
-1
votes
1 answer

ruby on rails how to activate cronjobs?

I have some cronjobs in my ruby on rails app generated with whenever. How can I activate them? At the moment they don't run when I do rails s. UPDATE When I do whenever -w I got this errors: /usr/lib/ruby/1.9.1/rubygems/dependency.rb:247:in…
Felix
  • 5,452
  • 12
  • 68
  • 163
-1
votes
1 answer

running file ruby on whenever/crontjob ruby

how to running file ruby in whenever, in this case i'm not using rails. If in example rails code, i'm only must running this code and it's work : example in rails : every 3.hours do runner "MyModel.some_process" end but if i want to running file…
tardjo
  • 1,594
  • 5
  • 22
  • 38
-1
votes
1 answer

whenever gem how to specify start and end

How can I specify start and end of the job? example execute every 5 minutes start at 5am and end at 10pm. Is this possible in whenever?
Chris Ian
  • 771
  • 1
  • 7
  • 19
-1
votes
1 answer

Crontab error while trying to run a rake task - Using whenever gem

I have created a simple rake task. I am trying to use https://github.com/javan/whenever/ gem to run this task once a day. However, no tasks are being fired. In my /var/mail/* file, From: root@Gupta (Cron Daemon) To: shubham@Gupta Subject: Cron…
Nerve
  • 6,463
  • 4
  • 29
  • 29
1 2 3
33
34