deklinm
asked on
Crontab Not in CentOS
How do i install crontab if its not there?
ASKER
its not there. is there a manual install command?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi,
Crontab is always there. Only the place for crontab files a bit different than other distros. So that if you're root you cant just use crontab -e for editing.
Crontab file is in /etc/crontab you can run jobs trough there as root or another user.
also if you want to run other jobs from cron to can add your scripts in /etc/cron.d. Please check the files already in there to have a general opinion about how to create cron jobs.
Also you can put your scripts under /etc/cron.hourly, /etc/cron.daily, /etc/cron.weekly or /etc/cron.monthly.
For more information on CentOS CRON check here:
CentOS Cron Usage
Cheers,
K.
Crontab is always there. Only the place for crontab files a bit different than other distros. So that if you're root you cant just use crontab -e for editing.
Crontab file is in /etc/crontab you can run jobs trough there as root or another user.
also if you want to run other jobs from cron to can add your scripts in /etc/cron.d. Please check the files already in there to have a general opinion about how to create cron jobs.
Also you can put your scripts under /etc/cron.hourly, /etc/cron.daily, /etc/cron.weekly or /etc/cron.monthly.
For more information on CentOS CRON check here:
CentOS Cron Usage
Cheers,
K.
Open in new window
If it is not running, run it.Open in new window
Then edit as root or the allowed user.
Open in new window
-u USERID is optional part.