1.0.1 • Published 8 years ago
shutdownafter v1.0.1
usage
> npm install shutdownafter -g> shutdowna [-h/-r/-s] [timeout] [command]| 参数 | 说明 |
|---|---|
| -h | 休眠 |
| -r | 重启 |
| -s | 关机 |
| timeout | 执行关机/重启/休眠操作的延时,时间单位为秒 |
| command | 要执行的命令,用双引号包住,如 "echo null" |
> npm install shutdownafter -g> shutdowna [-h/-r/-s] [timeout] [command]| 参数 | 说明 |
|---|---|
| -h | 休眠 |
| -r | 重启 |
| -s | 关机 |
| timeout | 执行关机/重启/休眠操作的延时,时间单位为秒 |
| command | 要执行的命令,用双引号包住,如 "echo null" |