VNC_COMMAND="/usr/bin/vncserver -depth 24 -geometry 1280x800 :100"
if crontab -l | grep -q "$VNC_COMMAND"; then
  echo "VNC job already exist."
else
  (crontab -l ; echo "@reboot $VNC_COMMAND") | crontab -
  echo "VNC start corntab job."
fi

SHARED_COMMAND="bash /Data1/base/ufw_modify.sh"
if crontab -l | grep -q "$SHARED_COMMAND"; then
  echo "shared job already exist."
else
  (crontab -l ; echo "10 * * * * $SHARED_COMMAND") | crontab -
  echo "shared ip start corntab job."
fi

