ucsd-ra / reumanager

Rails based application built to facilitate the online application process for NSF REU programs.
2 stars 1 forks source link

db is reset but seeds is not run in cron job #11

Closed jgrevich closed 10 years ago

jgrevich commented 10 years ago

The database is supposed to be reset every sunday at 3am PST. Currently it is being reset however the default data is not added. I think this may be a timing issue and that both tasks are being run concurrently.

jgrevich commented 10 years ago

The cron job had the db:reset and db:seed command running at the same time. Having them run asynchronously resolved the problem.