Skip to content

Commit

Permalink
Use localhost instead of production server for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
dr0i committed Sep 18, 2023
1 parent 4ab6a99 commit b6fb44c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ curl --verbose -XPOST http://localhost:7200/organisations/transform
curl --verbose -XPOST http://localhost:7200/organisations/index

# see https://github.com/hbz/lobid-organisations/issues/419:
totalItems=$(curl "https://lobid.org/organisations/search?q=_exists_%3AdbsID+AND+NOT+_exists_%3Aisil+AND+_exists_%3Alocation.geo"|jq .totalItems)
totalItems=$(curl "http://localhost:7200/organisations/search?q=_exists_%3AdbsID+AND+NOT+_exists_%3Aisil+AND+_exists_%3Alocation.geo"|jq .totalItems)
if [ $totalItems -lt 4000 ]; then
mail -s "Missing geo data in lobid-organisations" "[email protected]" -a "From: hduser@weywot1" << EOF
See https://github.com/hbz/lobid-organisations/issues/419
Expand Down

0 comments on commit b6fb44c

Please sign in to comment.