Skip to content

Commit

Permalink
amend cron file
Browse files Browse the repository at this point in the history
  • Loading branch information
drkane committed Oct 16, 2020
1 parent 37e153c commit 9c22a36
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions crontab
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ SHELL=/bin/bash
# import everything else - every night
0 1 * * * dokku dokku --rm run ftc python ./manage.py import_all

# import charities - Friday night
# import charities - Thursday night
# import_oscr is run first because it seems to time out in the middle of the night
0 20 * * 4 dokku dokku --rm run ftc python ./manage.py import_oscr
0 2 * * 5 dokku dokku --rm run ftc python ./manage.py import_charities

# import companies - Saturday night
# import companies - Friday night
0 2 * * 6 dokku dokku --rm run ftc python ./manage.py import_companies

# regenerate the elasticsearch index - every night
Expand Down
6 changes: 4 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,12 @@ SHELL=/bin/bash
# import everything else - every night
0 1 * * * dokku dokku --rm run ftc python ./manage.py import_all

# import charities - Friday night
# import charities - Thursday night
# import_oscr is run first because it seems to time out in the middle of the night
0 20 * * 4 dokku dokku --rm run ftc python ./manage.py import_oscr
0 2 * * 5 dokku dokku --rm run ftc python ./manage.py import_charities

# import companies - Saturday night
# import companies - Friday night
0 2 * * 6 dokku dokku --rm run ftc python ./manage.py import_companies

# regenerate the elasticsearch index - every night
Expand Down

0 comments on commit 9c22a36

Please sign in to comment.