以下方法将每20秒执行一次
1.编辑crontab
  crontab-e
  *****/bin/date>>/tmp/da
  *****sleep20;/bin/date>>/tmp/da
  *****sleep40;/bin/date>>/tmp/da
2.检查结果
tail-f/tmp/da
ThuOct3115:02:21CST2013
tail:/tmp/da:filetruncated
ThuOct3115:02:41CST2013
tail:/tmp/da:filetruncated
ThuOct3115:03:21CST2013
编写脚本
[root@centos1.unison]#viunison.sh
whiletrue;do
echo`date`>>/tmp/da

sleep3
done
之后后台运行脚本每隔三秒执行一次nohupshunison.sh&