第二种方法:
使用shutdown定时关机的问题
shutdown: invalid option -- -
Usage: shutdown [-akrhfnc] [-t secs] time [warning message]
-a: use /etc/shutdown.allow
-k: don't really shutdown, only warn.
-r: reboot after shutdown.
-h: halt after shutdown.
-f: do a 'fast' reboot (skip fsck).
-F: Force fsck on reboot.
-n: do not go through "init" but go down real fast.
-c: cancel a running shutdown.
-t secs: delay between warning and kill signal.
** the "time" argument is mandatory! (try "now") **
PS:我是这样的shutdown -t 54000 就是运行15小时后自动关机
【linux延时关机命令 linux开机延时启动脚本】linux延时关机命令的介绍就聊到这里吧,感谢你花时间阅读本站内容 , 更多关于linux开机延时启动脚本、linux延时关机命令的信息别忘了在本站进行查找喔 。
- redis实现延时消息队列 redis消息时间过长
- redis linux安装包 linux下redis包
- mongodb中如何嵌入文档 mongodb嵌入式linux使用
- linuxmongodb启动服务 linux-mongodb
- linux备份工具 linuxmongodb备份命令
- yum-ymysql
- linux安装redis5.0 linux中装redis
- redis订阅和发布 消息推送 redis发布订阅延时
- Linux退出root linux退出mongodb
- linux i2c驱动 c驱动mysql
