- vip12011-10-11论坛元老20114
首先我用yum install crontabs
来安装,执行crontab -e
-bash: crontab: command not found
百度下,就用 yum install vixie-cron crontabs
再用crontab -e,又提示
no crontab for root - using an empty one晕死,都弄乱了
帮我看看吧
]# yum install vixie-cron crontabs
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile- base: mirror.nic.uoregon.edu
- extras: mirror.nic.uoregon.edu
- updates: mirrors.versaweb.com
Setting up Install Process
Package crontabs-1.10-8.noarch already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package vixie-cron.i386 4:4.1-77.el5_4.1 set to be updated
--> Finished Dependency ResolutionDependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
vixie-cron i386 4:4.1-77.el5_4.1 base 79 kTransaction Summary
================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)Total download size: 79 k
Is this ok [y/N]: y
Downloading Packages:
vixie-cron-4.1-77.el5_4.1.i386.rpm | 79 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : vixie-cron 1/1Installed:
vixie-cron.i386 4:4.1-77.el5_4.1Complete!
[root@i~]# crontab -e
no crontab for root - using an empty one~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/tmp/crontab.XXXXglH494" 0L, 0C