Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Cron Jobs problem ?

Discussion in 'General Discussion' started by map007, Jul 26, 2009.

  1. map007

    map007 Active Member

    Joined:
    Jun 5, 2008
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    56
    Hi,

    After migration of the server , some users cronjobs are not viewable or hide from cPanel >> cron jobs

    but still its running , please guide me how can i restore that cron jobs so i can modify it.
    where i can find those crons so i can restore it.


    Thanks in advance.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    8
    Trophy Points:
    193
    The location you want is: /var/spool/cron
     
  3. map007

    map007 Active Member

    Joined:
    Jun 5, 2008
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    56
    Hi Spiral ,

    I already checked there but the user is not able under /var/spool/cron directory but still the that user's crons are working .....

    Guide me where i can check the user's cron or how to restore that crons.....


    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. map007

    map007 Active Member

    Joined:
    Jun 5, 2008
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    56
    HI,

    Any body have solution ?????

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. sajna_m

    sajna_m Registered

    Joined:
    Jul 28, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    51
    Hi map007,

    Try this:

    SSH to your server as root.

    Change the permissions of the file /usr/bin/crontab to 4755

    chmod 4755 /usr/bin/crontab

    :)
     
    #5 sajna_m, Jul 28, 2009
    Last edited: Aug 3, 2009
  6. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    166
    What does "crontab -lu username" result?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. sajna_m

    sajna_m Registered

    Joined:
    Jul 28, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    51
    Hi,

    The command 'crontab -lu username' will list all the cron jobs set under the username specified.

    :)
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice