TrumanWong

ftpshut

Shut down the FTP server at the specified time

Supplementary instructions

Function description: Close the ftp server at the specified time. This command allows the system administrator to shut down the FTP server at the set time, and can issue a warning message to notify the user before shutting down. If the shutdown time is set to "none", the server will be shut down immediately. If you use "+30" to set it, it means the server will shut down after 30 minutes. By analogy, assuming the format of "1130" is used, it means that the server will be shut down at 11:30 every day, and the time format is a 24-hour clock. After the FTP server is shut down, a file named shutdownmsg will be generated in the /etc directory. After deleting it, the FTP server function can be started again.

grammar:

ftpshut [-d<minutes>][-l<minutes>][shutdown time]["warning message"]

parameter:

-d<minutes> Cut off all FTP connection time.
-l<minutes> Time to stop accepting FTP logins.