Skip to content

Commit

Permalink
Update tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
germankay committed Dec 10, 2024
1 parent eea1a33 commit b26c3cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/ckan/files/scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ ckan db upgrade -p announcements
# Rebuild search index
ckan search-index rebuild

# Update tracking
LAST_MONTH=$(date -d '60 days ago' +'%Y-%m-%d')
ckan tracking update $LAST_MONTH

# Datapusher+ requires a valid API token to operate
echo "Creating a valid API token for Datapusher+"
DATAPUSHER_TOKEN=$(ckan user token add default datapusher_multi expires_in=365 unit=86400 | tail -n 1 | tr -d '\t')
Expand Down

0 comments on commit b26c3cb

Please sign in to comment.