Can't get Cron to work
Hi guys, I'm having an issue with Cron to work.This is what I have in the crontab, that's supposed to run every 5 minutes on Thursday:
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
*/5 * * * 4 root cd /home/rails/jukely-web && rails runner -e production 'Pinger.send_test_sms'
But it's not running. If I execute cd /home/rails/jukely-web && rails runner -e production 'Pinger.send_test_sms' from the console it runs fine.
Am I missing something in the syntax or config I wonder. I read the docs and checked the other questions but no dice.
Thanks,
Bora
Log In to Comment