Crontab
释义 Definition
crontab:在类 Unix/Linux 系统中,用来配置定时任务(cron 作业)的文本文件或其编辑命令;用于指定“在什么时间执行什么命令/脚本”。(也可泛指“某个用户的 cron 任务表”。)
发音 Pronunciation (IPA)
/ˈkrɒn.tæb/ , /ˈkrɑːn.tæb/
例句 Examples
I updated my crontab to run a backup every night.
我更新了 crontab,让它每晚运行一次备份。
After deploying the app, she added a crontab entry that runs a maintenance script at 02:30 on weekdays and redirects output to a log file.
部署应用后,她在 crontab 里添加了一条任务:工作日 02:30 运行维护脚本,并把输出重定向到日志文件。
词源 Etymology
crontab 是 cron + tab 的合成词:
- cron 来自希腊语 chronos(时间),在 Unix 中指“定时执行任务的服务/守护进程”。
- tab 是 table(表)的缩略,表示“任务时间表/配置表”。
因此 crontab 字面意思就是“cron 的任务表”。
相关词 Related Words
文学与著作中的用例 Literary Works
- UNIX Power Tools(多处讨论 cron/crontab 的用法与自动化任务)
- The Linux Command Line(介绍 crontab/cron 的基础使用场景)
- Linux System Administration Handbook(系统管理章节涉及定时任务与 crontab 配置)
- Unix/Linux 手册页:man crontab、man 5 crontab(权威参考文档中系统性出现该词)