You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.
Tim Morgan edited this page Sep 7, 2015
·
4 revisions
OneBody has a handful of tasks that run on a scheduled basis. We use plain ol' crontab. We use the whenever gem to manage the crontab file.
Set up Postfix first
The most important task run via cron is to check for incoming email from Postfix. If you plan on running your own email server, then first do some Email Setup, then update your crontab using the directions below.
Update the Crontab
To update your crontab, run:
cd /var/www/onebody
RAILS_ENV=production bundle exec whenever -w