Stanford-Online/class2go — pull request #831 by sefk (2012-09-26 05:45:37+00:00)
Title: Sef two hotfixes into prod: kelvinator temp dir, report cron

In addition to hotfixes for #827 and #828 I also pulled in Sherif's small change to how the secure bucket is named. Required so my branch would build in Jenkins.

For the crontab one, here's the resulting crontab (from ```util1.dev```):

```
# Chef Name: users_by_class
0 10 * * * (cd /home/ubuntu/class2go/reports; ./users_by_class.sh olteam@cs.stanford.edu,c2g-dev@cs.stanford.edu,nickm@stanford.edu,pal@cs.stanford.edu,bmc@stanford.edu)
# Chef Name: users_by_day
10 10 * * * (cd /home/ubuntu/class2go/reports; ./users_by_day.sh olteam@cs.stanford.edu,c2g-dev@cs.stanford.edu,nickm@stanford.edu,pal@cs.stanford.edu,bmc@stanford.edu)
# Chef Name: generate main reports
20 10 * * * (cd /home/ubuntu/class2go/main; ./manage.py gen_active_course_reports)
```

I didn't test that actually did the right thing, but for tonight a well-formed crontab entry is sufficient for me.