Skip to content

Commit

Permalink
Fix GeoIP cronjob schedule (#918)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackYps authored Sep 13, 2022
1 parent 94f55f5 commit 7c96b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/geoip_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async def initialize(self) -> None:
# Run every Wednesday because GeoLite2 is updated every first Tuesday
# of the month.
self._update_cron = aiocron.crontab(
"0 0 0 * * 3", func=self.check_update_geoip_db
"0 0 * * 3", func=self.check_update_geoip_db
)
self._check_file_timer = Timer(
60 * 10, self.check_geoip_db_file_updated, start=True
Expand Down

0 comments on commit 7c96b3b

Please sign in to comment.