Crontab Not in CentOS

Posted on 2012-09-10
Last Modified: 2012-09-10
How do i install crontab if its not there?
Question by:deklinm
    LVL 31

    Expert Comment

    Check the service:

    service crond status

    Open in new window

    If it is not running, run it.

    service crond start
    chkconfig crond on

    Open in new window

    Then edit as root or the allowed user.

    crontab -e -u USERID

    Open in new window

    -u USERID is optional part.

    Author Comment

    its not there.  is there a manual install command?
    LVL 31

    Accepted Solution

    Install it
    yum -y install crontabs cronie

    Open in new window

    LVL 30

    Expert Comment

    by:Kerem ERSOY

    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


    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now