A batch of UNIX batch script

xiaoxiao2021-03-06  45

#! / bin / sh

# Stop IMGR service

IMGR_CONF -A Stop -a Test210

echo "/ tstop completion."

# 系统 Wait for 10 seconds

Sleep 10

# Start IMGR service

IMGR_CONF -A START -A TEST210

echo "/ tstart completion."

Put this file in / home / bv1to1 / bin / under, which is path, gives certain permissions.

#. . . Equivalent

IMGR_CONF -A Stop -a Test210. . . Stop the command of the server

echo "/ tstop completion.". . . Output a paragraph

Sleep 10. . . Waiting for 10 seconds

Basically, it is cool,

It is only possible to use im_start.sh in the future.

转载请注明原文地址:https://www.9cbs.com/read-79785.html

New Post(0)