Nothing happens...!!!

228 views
Skip to first unread message

eliasm...@gmail.com

unread,
Apr 14, 2014, 11:55:12 PM4/14/14
to whenev...@googlegroups.com
Hi there...

at
=== config/schedule.rb ===========
set :output, "/webapps/hotwheels/log/cron_log.log"

every 1.day, :at => '4:01 pm' do
  runner "Spree::Order.notify_pickup_dates_for_next_day"
end
============================

i've already run && succes

whenever --update-crontab hotwheels --set 'environment=production'


iif i type  crontab -l

it returns the following (which is correct i guess)

[root@li121-91 hotwheels]# crontab -l

=========================================

* * * * * /usr/bin/date >> /root/cron_work.log

# Begin Whenever generated tasks for: hotwheels

25 22 * * * /bin/bash -l -c 'cd /webapps/hotwheels && script/rails runner -e production '\''Spree::Order.notify_pickup_dates_for_next_day'\'' >> /webapps/hotwheels/log/cron_log.log 2>&1'

# End Whenever generated tasks for: hotwheels

=============================

...but the process does ... nothing...!!! 

what can be wrong with it..

Note: is a remote server... (server at linode)


thanks in advance... any help is welcome... 


thanks Elias

Javan Makhmali

unread,
Apr 15, 2014, 10:38:41 PM4/15/14
to whenev...@googlegroups.com
How have you concluded that the process does nothing? No logs? If you run the command from your crontab on the server manually, does it work?

/bin/bash -l -c 'cd /webapps/hotwheels && script/rails runner -e production '\''Spree::Order.notify_pickup_dates_for_next_day'\'''

-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
---
You received this message because you are subscribed to the Google Groups "Whenever Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email to whenever-gem...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages