Skip to content

Commit

Permalink
Don't hard code wget path
Browse files Browse the repository at this point in the history
  • Loading branch information
rmens committed Nov 5, 2023
1 parent aae02ce commit 6ea97d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ if [ "$ENABLE_HEARTBEAT" == "y" ]; then

# Add a cronjob that calls the HEARTBEAT_URL every minute
echo -e "${BLUE}►► Setting up heartbeat monitoring cronjob...${NC}"
(crontab -l 2>/dev/null; echo "* * * * * /usr/bin/wget --spider $HEARTBEAT_URL > /dev/null 2>&1") | crontab -
(crontab -l 2>/dev/null; echo "* * * * * wget --spider $HEARTBEAT_URL > /dev/null 2>&1") | crontab -
echo -e "${GREEN}Heartbeat monitoring cronjob added.${NC}"
fi

Expand Down

0 comments on commit 6ea97d3

Please sign in to comment.