#!/bin/bash time_begin=$(date) echo "$time_begin : restart service!!" >> /root/monitor/log/cache.txt #systemctl restart S905X_BI echo "************************************" >> /root/monitor/log/cache.txt exit 0