Nothing happening

117 views
Skip to first unread message

solar...@gmail.com

unread,
Apr 11, 2012, 11:31:14 AM4/11/12
to Whenever Gem
Rails 3.2.1, Ruby 1.9.3-p125, whenever 0.7.3
Installed, ran wheneverize, put runner commands as follows into my
config/schedule.rb but nothing is happening.

set :output, "log/whenever.log"

every 10.minutes do
runner -e development "Updater.update_statuses"
end

every 1.day, :at => '12:01 am' do
runner -e development "MakeExpected.perform'
end

Each of these methods runs successfully as "rails runner -e
development <Module>.<method>"

Please help? Ty.

Javan Makhmali

unread,
Apr 11, 2012, 12:22:05 PM4/11/12
to whenev...@googlegroups.com
So you're trying to get these cron jobs running locally? Have you run `whenever --update-crontab`? Does `crontab -l` list any cron jobs?

-Javan

> --
> You received this message because you are subscribed to the Google
> Groups "Whenever Gem" group and because you're awesome.
> To post to this group, send email to whenev...@googlegroups.com
> To unsubscribe from this group, send email to
> whenever-gem...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/whenever-gem?hl=en

Carilda A Thomas

unread,
Apr 11, 2012, 1:23:45 PM4/11/12
to whenev...@googlegroups.com
So the whenever just schedules cron jobs, it's not a background processor?

(Thanks for the rapid reply.)

Carilda

Javan Makhmali

unread,
Apr 11, 2012, 1:24:27 PM4/11/12
to whenev...@googlegroups.com
Yeah, it's just nice DSL for cron jobs.
Reply all
Reply to author
Forward
0 new messages