Skip to content

Commit

Permalink
add harvester monitor cron job
Browse files Browse the repository at this point in the history
  • Loading branch information
wguanicedew committed Nov 21, 2024
1 parent 4f9c210 commit 4794aea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm/harvester/charts/harvester/sandbox/run-harvester-crons
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ while true; do sleep 36000; /opt/harvester/bin/panda_common-install_igtf_ca > /v
# log rotate
while true; do /usr/sbin/logrotate /data/harvester/logrotate-harvester >> /var/log/panda/logrotate.log 2>&1; sleep 3600; done &

# health monitor

while true; do bash /data/harvester/health_monitor.sh >> /var/log/panda/health_monitor.log 2>&1; sleep 600; done &

# experiment specific
if [[ ! -z "${EXPERIMENT}" ]]; then
CurrentDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
Expand Down

0 comments on commit 4794aea

Please sign in to comment.