[root@localhost ~]# touch test.sh
[root@localhost ~]# cat >test.sh<<EOF
> /bin/date >> /tmp/test.log
> EOF
[root@localhost ~]# cat test.sh
/bin/date >> /tmp/test.log
[root@localhost ~]# chmod u+x test.sh
[root@localhost ~]# ls -l test.sh
-rwxr--r--. 1 root root 27 Oct 30 07:34 test.sh
[root@localhost ~]# service cond status
cond: unrecognized service
[root@localhost ~]# service crond status
[root@localhost ~]# cat >test.sh<<EOF
> /bin/date >> /tmp/test.log
> EOF
[root@localhost ~]# cat test.sh
/bin/date >> /tmp/test.log
[root@localhost ~]# chmod u+x test.sh
[root@localhost ~]# ls -l test.sh
-rwxr--r--. 1 root root 27 Oct 30 07:34 test.sh
[root@localhost ~]# service cond status
cond: unrecognized service
[root@localhost ~]# service crond status
crond (pid 1739) is running...
[root@localhost ~]# crontab -e
no crontab for root - using an empty one
* * * * * /root/test.sh
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/tmp/crontab.NU60nq" 1L, 24C written
crontab: installing new crontab
[root@localhost tmp]# tail -f /tmp/test.log
Thu Oct 30 07:39:01 CST 2014
Thu Oct 30 07:40:01 CST 2014
Thu Oct 30 07:41:01 CST 2014
Thu Oct 30 07:42:01 CST 2014
Thu Oct 30 07:43:01 CST 2014