Skip to content

Commit

Permalink
Merge pull request #83 from reload/luckow-patch-1
Browse files Browse the repository at this point in the history
Update crontab
  • Loading branch information
achton committed Jun 17, 2024
2 parents 54e14e9 + a2da377 commit d68962c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/crontab
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
PATH=/usr/bin:/bin:/usr/local/bin

# Fetching data from HarvestAPI every 5 mins.
*/5 * * * * www-data /harvester/app/console 2>&1 harvester:fetch --updated-yesterday | logger -t harvester
*/10 * * * * www-data /harvester/app/console 2>&1 harvester:fetch --updated-yesterday | logger -t harvester

# Fetching weekly data from HarvestAPI every hour.
33 * * * * www-data /harvester/app/console 2>&1 harvester:fetch --updated-week | logger -t harvester
Expand All @@ -13,4 +13,4 @@ PATH=/usr/bin:/bin:/usr/local/bin

# This will delete all records that's two months old and refill entries again.
# This is done to get rid of entries that might have been deleted.
0 4 * * * www-data /harvester/app/console 2>&1 harvester:refresh --days=62 --preserve-roles | logger -t harvester
3 5 * * * www-data /harvester/app/console 2>&1 harvester:refresh --days=62 --preserve-roles | logger -t harvester

0 comments on commit d68962c

Please sign in to comment.