⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cron.8

📁 UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱昂氏unix源代码分析都是用的该版
💻 8
字号:
.th CRON VIII 10/25/74.sh NAMEcron \*- clock daemon.sh SYNOPSIS.bd /etc/cron.sh DESCRIPTION.it Cronexecutes commands at specified dates and timesaccording to the instructions in the file/usr/lib/crontab.Since.it cronnever exits,it should only be executed once.This is best done by running.it cronfrom the initializationprocess through the file/etc/rc;see.it init(VIII)..s2Crontabconsists of lines of six fields each.The fields are separated by spaces or tabs.The first five are integer patterns tospecify theminute (0-59),hour (0-23),day of the month (1-31),month of the year (1-12),and day of the week (1-7 with 1=monday).Each of these patterns maycontain a number in the range above;two numbers separated bya minusmeaning a range inclusive;a list of numbers separated bycommas meaning any of the numbers;or an asterisk meaning all legal values.The sixth field is a stringthat is executed by the Shell at thespecified times.A percent characterin this field is translated to a new-linecharacter.Only the first line (up to a % or end of line)of the command field is executed by the Shell.The other lines are made available to thecommand as standard input..s2Crontab is examined by.it cronevery hour.Thus it could take up to an hourfor entries to become effective.If it receivesa hangup signal, however, the table is examined immediately;so `kill \-1 ...' can be used..sh FILES/usr/lib/crontab.sh "SEE ALSO"init(VIII), sh(I), kill (I).sh DIAGNOSTICSNone \- illegal lines incrontab are ignored..sh BUGSA more efficient algorithm could be used.The overhead in running.it cronis about one percent of themachine,exclusive of any commands executed.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -