Skip to content

Commit

Permalink
Update es-cms alias fro wma_agent_count
Browse files Browse the repository at this point in the history
  • Loading branch information
nikodemas authored Sep 12, 2024
1 parent 23ac8ff commit ae9d11b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/cron4wma_agent_count.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e
##H cron4wma_agent_count.sh
##H Weekly cron job of wma_agent_count_to_opensearch.py
##H This cron job calculates daily agent count per host and send to OpenSearch es-cms test tenant WEEKLY
##H This cron job calculates daily agent count per host and send to OpenSearch os-cms test tenant WEEKLY
##H
##H Example: cron4wma_agent_count.sh --keytab ./keytab --conf ./secret_opensearch.txt --p1 32000 --p2 32001 --host $MY_NODE_NAME --wdir $WDIR
##H Arguments:
Expand Down Expand Up @@ -50,7 +50,7 @@ spark_submit_args=(
_start_date=$(date -d "10 days ago" +%Y-%m-%d)
_end_date=$(date -d "3 days ago" +%Y-%m-%d)
ES_INDEX="test-wmarchive-agent-count"
ES_HOST="es-cms1.cern.ch/es"
ES_HOST="os-cms.cern.ch/os"

util4logi "${myname} Spark Job is starting... between input dates of ${_start_date} - ${_end_date}"
# ---------------------------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit ae9d11b

Please sign in to comment.