ChinaUnix.net
相关文章推荐:

crontab 详解

转自:http://bbs.chinaunix.net/viewthread.php?tid=271992&extra=&page=1 crontab命令的功能是在一定的时间间隔调度一些命令的执行。在/etc目录下有一个crontab文件,这里存放有系统运行的一些调度程序。每个用户可以建立自己的调度crontabcrontab命令有三种形式的命令行结构: crontab [-u user] [file] crontab [-u user] [-e|-l|-r] crontab -l -u [-e|-l|-r] 第一个命令行中,file是命令文件的名字。如果在命令行中指定了...

by UnixBreeze - HP文档中心 - 2009-06-02 14:41:14 阅读(2485) 回复(0)

相关讨论

不能直接编辑这个文件。需要用这个命令crontab -e,系统默认调用ed编辑器进行编辑。然后输入a,输入你增加的内容,输入.切换到命令模式,输入w存盘,输入p退出。即可。 crontab命令的功能是在一定的时间间隔调度一些命令的执行。在/etc目录下有一个crontab文件,这里存放有系统运行的一些调度程序。每个用户可以建立自己的调度crontabcrontab命令有三种形式的命令行结构: crontab [-u user] [file] crontab [-u user] [-e...

by nccn - Solaris文档中心 - 2007-02-09 09:32:23 阅读(953) 回复(0)

crontab命令详解 crontab命令的功能是在一定的时间间隔调度一些命令的执行。在/etc目录下有一个crontab文件,这里存放有系统运行的一些调度程序。每个用户可以建立自己的调度crontabcrontab命令有三种形式的命令行结构: crontab [-u user] [file] crontab [-u user] [-e|-l|-r] crontab -l -u [-e|-l|-r] 第一个命令行中,file是命令文件的名字。如果在命令行中指定了这个文件,那么执行crontab命令,则将这个文件拷贝到cr...

by nowon - HP文档中心 - 2006-06-07 12:51:10 阅读(1290) 回复(0)

crontab命令详解 crontab命令的功能是在一定的时间间隔调度一些命令的执行。在/etc目录下有一个crontab文件,这里存放有系统运行的一些调度程序。每个用户可以建立自己的调度crontabcrontab命令有三种形式的命令行结构: crontab [-u user] [file] crontab [-u user] [-e|-l|-r] crontab -l -u [-e|-l|-r] 第一个命令行中,file是命令文件的名字。如果在命令行中指定了这个文件,那么执行crontab命令,则将这个文件拷贝到cr...

by cell1999 - BSD文档中心 - 2005-03-08 10:21:05 阅读(939) 回复(0)

crontab命令的功能是在一定的时间间隔调度一些命令的执行。在/etc目录下有一个crontab文件,这里存放有系统运行的一些调度程序。每个用户可以建立自己的调度crontabcrontab命令有三种形式的命令行结构: crontab [-u user] [file] crontab [-u user] [-e|-l|-r] crontab -l -u [-e|-l|-r] 第一个命令行中,file是命令文件的名字。如果在命令行中指定了这个文件,那么执行crontab命令,则将这个文件拷贝到crontabs目录下;如...

by pcbird - Solaris - 2012-02-16 08:21:02 阅读(42235) 回复(59)

# crontab -e Warning: Missing charsets in String to FontSet conversion Warning: Cannot convert string "-dt-interface system-medium-r-normal-s*utf*-*-*- Warning: Missing charsets in String to FontSet conversion Warning: Missing charsets in String to FontSet conversion Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*utf*-*-*-*- Warning: Missing charsets in String to FontSet conv...

by libo9912 - Solaris - 2010-05-07 14:00:25 阅读(2298) 回复(4)

我使用 crontab -e 添加 29 15 * * * /export/home/asx/trycshell/check_machine/check_machine.csh # crontab -l #ident "@(#)root 1.12 94/03/24 SMI" /* SVr4.0 1.1.3.1 */ # # The root crontab should be used to perform accounting data collection. # # The rtc command is run to adjust the real time clock if and when # daylight savings time changes. # 0 2 * * 0,4 /etc/cron.d/logchecker ...

by xp20683 - Shell - 2007-11-14 12:59:48 阅读(2291) 回复(14)

ps = pgrep kill 后面接pid号 pkil 后面接进程名称 # at 9:00 pm at>find /export/home/user2 -name core -exec rm {} \; at> commands will be executed using /sbin/sh job 1016078400.a at Wed Mar 13 21:00:00 2002 To display information about the execution times of jobs, perform the command: # at -l 1016078400.a To display the jobs queued to run at specified times by chronological order of execution...

by lastletter - Solaris文档中心 - 2007-07-05 17:10:01 阅读(1018) 回复(0)

XX的解说: ///////////////////////////////////////////////////////////////////// crontab a. crontab文件包括在/var/spool/cron/crontabs/username(s)中 查看文件内容 #crontab -l (root 用户) 或 #cd /var/spool/cron/crontabs #more usernames(s) 下面是root用户的crontab文件内容: #ident "@(#)root 1.19 98/07/06 SMI" /* SVr4.0 1.1.3.1 ...

by wangsuiri - Solaris文档中心 - 2006-07-17 13:38:17 阅读(809) 回复(0)

crontab - Quick reference Setting up cronjobs in Unix and Solaris cron is a unix, solaris utility that allows tasks to be automatically run in the background at regular intervals by the cron daemon. These tasks are often termed as cron jobs in unix , solaris. crontab (CRON TABle) is a file which contains the schedule of cron entries to be run and at specified times. Following points sum up the...

by hoofirst - Solaris文档中心 - 2006-03-20 17:05:54 阅读(641) 回复(0)

crontab a. crontab文件包括在/var/spool/cron/crontabs/username(s)中 查看文件内容 #crontab -l (root 用户) 或 #cd /var/spool/cron/crontabs #more usernames(s) 下面是root用户的crontab文件内容: #ident "@(#)root 1.19 98/07/06 SMI" /* SVr4.0 1.1.3.1 */ # # The root crontab should be used to perform accounting data collection. # # The rtc command is run to adjust the real time clock if and whe...

by ywsun - Solaris文档中心 - 2005-04-19 11:16:40 阅读(1025) 回复(0)