scipy-conference / SciPy-2014

Symposion-based website for US 2014 conference
https://conference.scipy.org/scipy2014/
7 stars 21 forks source link

add cron job to fabric #46

Closed codersquid closed 10 years ago

codersquid commented 10 years ago

We don't have a cronjob set up for #6

Looks like fabtool has support for cron http://fabtools.readthedocs.org/en/0.17.0/api/cron.html?highlight=cron#cron-tasks

codersquid commented 10 years ago

meanwhile, I'm going to add an entry by hand so that users get their email

codersquid commented 10 years ago

If we want to call this from the deploy task using fabtool.cron isn't the best approach since it wouldn't be idempotent. We'd want to use run and do some steps with crontab file to dump and restore the table, and also add a template to our repo. I've written some code for this, but haven't finished testing.