The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cronjobs list doesnot show up in cpanel

Discussion in 'General Discussion' started by madan.cpanelnet, Jun 28, 2006.

  1. madan.cpanelnet

    madan.cpanelnet Well-Known Member

    Joined:
    Apr 1, 2006
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    INDIA
    Hello;

    cronjobs list doesnot show up in cpanel.

    Any ideas?
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    The ambiguity of your question makes me think of two possible meanings.

    1) There is no cronjob option in cPanel
    In which case, check that this feature is enabled for the relevant account

    2) The cronjob option is in cPanel but no cronjobs are listed
    I believe this feature will just read the contents of /var/spool/cron/username. Is the relevant cron file present, is the ownership correct (root:root), are the permissions correct (0600) and does the file actually contain anything?
     
  3. avijit

    avijit Well-Known Member

    Joined:
    Jul 26, 2004
    Messages:
    116
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    /var/spool/cron/username file will only exist if that user have ever created any cronjob through his cpanel.

    Has he earlier created the crons ?
     
  4. madan.cpanelnet

    madan.cpanelnet Well-Known Member

    Joined:
    Apr 1, 2006
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    INDIA
    Many thanks for your reply.


    The cronjob option is available in cPanel but no cronjobs are listed.


    Crons have been created earlier. I can view the corn entry in th the /var/spool/cron/username file.


    The ownership of the file is root.user ( which is correct as I verified it for other domain.
    The permissons for the cron file is 0600

    Also there is not attributes dressed over the file.

    **root.root permissions are for the root and mailmain (user or files) inside /var/spool/cron.**
    Thats ok.


    The /var/spool/cron/username exists with an crontab entry, but when i try to add another cronjob from cpanel, neither does it list on the cpanel, nor does it append to the /var/spool/cron/username file.


    Warm Regards
    Madan
     
  5. madan.cpanelnet

    madan.cpanelnet Well-Known Member

    Joined:
    Apr 1, 2006
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    INDIA
    chmod 4755 crontab did the trick
     
Loading...

Share This Page