Cron + whenever not working with RVM
I am using RVM environment. RUby version : 2.1.2 rails : 4.1.1 schedule.rb : every 1.minute do runner "note.send_mail" end I used whenever --update-crontab to update the cron tab. when I check the jobs using crontab -l it shows up as below with no proper time set up. and the cron job does not work. * * * * * /bin/bash -l -c 'cd /Desktop/folder1/blog2 && bin/rails runner -e production '\''note.send_mail'\''' Can some one help me out fix this. Thanks! Go to your ~/.rvmrc file and add the following: rvm_trust_rvmrcs_flag=1 Then whenever --update-crontab again. According to the README of whenever