This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
CrontabSetup
OneBody has a handful of tasks that run on a scheduled basis. We use plain ol’ crontab.
First, do some EmailSetup.
Second, check that you don’t already have anything in your crontab. If you do, you may wish to edit it manually instead of performing the steps below. Because it will be overwritten.
crontab -e # check for existing crontab entries
You’ll need the “whenever” gem from Javan Makhmali installed first:
gem install chronic
gem install javan-whenever -s http://gems.github.com
See what entries will be added:
cd path/to/onebody
whenever
You should see something resembling a crontab file. If you don’t see a line with script/inbox in it, then your config/email.yml file couldn’t be found.
Now, to update your user crontab (this does not change /etc/crontab), issue the following command (warning: this will overwrite your entire user crontab):
whenever -w






