#Note '/home/deploy/apps/sms_system/current' is your production directory. #edit files $crontab -e
#sample excutable file */1 * * * * /bin/bash /home/deploy/apps/sms_system/sms_system.sh #your rails jobs 1 */1 * * * * /bin/bash -l -c 'cd /home/deploy/apps/sms_system/current && RAILS_ENV=production bundle exec rails client_payment_due:import_payment_dues --silent' #your rails jobs 2 0 1 * * * /bin/bash -l -c 'cd /home/deploy/apps/sms_system/current && RAILS_ENV=production bundle exec rails send_sms:client --silent'