[root@aa-test-02 henry.hu]# rpm -qa|grep cron
crontabs-1.10-33.el6.noarch
cronie-1.4.4-7.el6.x86_64
cronie-anacron-1.4.4-7.el6.x86_64
[root@aa-test-02 henry.hu]# service crond status
crond (pid 30413) is running...
[root@aa-test-02 henry.hu]#
 
[root@aa-test-02 /]# find /tmp/eaccelerator/ -type f -print
[root@aa-test-02 /]# ls
bin   cgroup etc   lib    lost+found misc net proc sbin     srv tmp var
boot dev     home lib64 media       mnt   opt root selinux sys usr
[root@aa-test-02 /]# crontab -e
no crontab for root - using an empty one
crontab: installing new crontab
"/tmp/crontab.AwFG7l":1: bad hour
errors in crontab file, can't install.
Do you want to retry the same edit? y
crontab: installing new crontab
"/tmp/crontab.AwFG7l":1: bad hour
errors in crontab file, can't install.
Do you want to retry the same edit? n
crontab: edits left in /tmp/crontab.AwFG7l
[root@aa-test-02 /]# cd /tmp/
[root@aa-test-02 tmp]# ls
crontab.AwFG7l eaccelerator yum.log
[root@aa-test-02 tmp]# vi crontab.AwFG7l
[root@aa-test-02 tmp]# chkconfig cron on
error reading information on service cron: No such file or directory
[root@aa-test-02 tmp]# chkconfig crond on
[root@aa-test-02 tmp]# chkconfig --list crond
crond           0:off   1:off   2:on    3:on    4:on    5:on    6:off
[root@aa-test-02 tmp]# crontab -l
no crontab for root
[root@aa-test-02 tmp]# crontab -l
no crontab for root
[root@aa-test-02 tmp]# crontab -l
no crontab for root
[root@aa-test-02 tmp]# crontab -e
no crontab for root - using an empty one
crontab: installing new crontab
[root@aa-test-02 tmp]# crontab -l
*/1 * * * * echo `date` >> /home/chenlb/cron-log.txt
 
[root@aa-test-02 tmp]# crontab -e
crontab: installing new crontab
You have mail in /var/spool/mail/root
[root@aa-test-02 tmp]# cd /home/
[root@aa-test-02 home]# ls
henry.hu hntcnadmin
[root@aa-test-02 home]# cd henry.hu/
[root@aa-test-02 henry.hu]# ls
[root@aa-test-02 henry.hu]# crontab -l
*/1 * * * * echo `date` >> /home/henry.hu/cron-log.txt
 
[root@aa-test-02 henry.hu]# ls
[root@aa-test-02 henry.hu]# ls
[root@aa-test-02 henry.hu]# ls
[root@aa-test-02 henry.hu]# ls
cron-log.txt
[root@aa-test-02 henry.hu]# cat cron-log.txt
Tue Jan 22 17:15:01 GMT 2013
[root@aa-test-02 henry.hu]#