Closed reginafcompton closed 6 years ago
It would be safer to chain the commands with an &&
On Wed, Jan 10, 2018 at 4:51 PM, Regina Compton notifications@github.com wrote:
@hancush https://github.com/hancush - this PR adds a cronjob that runs the RTF conversion script after each data_import. For production, I used flock, though by locking the same file. Then, if the conversion script takes longer than 15 minutes, a new import cannot start.
You can view, comment on, or merge this pull request online at:
https://github.com/datamade/nyc-council-councilmatic/pull/115 Commit Summary
- Correct log for production
- Update crontask
File Changes
- M configs/settings_deployment_production.py.gpg https://github.com/datamade/nyc-council-councilmatic/pull/115/files#diff-0 (0)
- M scripts/nyc-council-councilmatic-crontasks https://github.com/datamade/nyc-council-councilmatic/pull/115/files#diff-1 (3)
- M scripts/nyc-council-councilmatic-staging-crontasks https://github.com/datamade/nyc-council-councilmatic/pull/115/files#diff-2 (1)
Patch Links:
- https://github.com/datamade/nyc-council-councilmatic/pull/115.patch
- https://github.com/datamade/nyc-council-councilmatic/pull/115.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/datamade/nyc-council-councilmatic/pull/115, or mute the thread https://github.com/notifications/unsubscribe-auth/AAgxbb_ZDnRHLYi9jPSCiQs0sQlYY0YSks5tJT7jgaJpZM4RaEKo .
-- 773.888.2718
I do not want to merge this PR nor turn on the NYC cron tasks, until we get this sorted out: https://github.com/datamade/django-councilmatic/pull/169
@hancush, do you feel comfortable with that?
@hancush - this PR adds a cronjob that runs the RTF conversion script after each data_import.
It handles the last part of this issue: https://github.com/datamade/nyc-council-councilmatic/issues/108