1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.zh/linux/at.md

16 lines
328 B
Markdown
Raw Normal View History

# at
2019-10-18 11:30:29 +08:00
> 在指定时间执行命令.
2019-10-19 14:12:27 +08:00
- 打开`at`提示符创建一组新的定时命令,按`Ctrl + D`保存并退出:
`at {{hh:mm:ss}}`
2019-10-19 14:12:27 +08:00
- 运行命令并通过本地电子邮件程序(例如 sendmail) 发送运行结果:
`at {{hh:mm:ss}} -m`
2019-10-19 14:12:27 +08:00
- 在指定时间执行一个脚本:
`at {{hh:mm:ss}} -f {{文件路径}}`