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.

cPanel Cron

Discussion in 'General Discussion' started by fk77388, Oct 19, 2013.

  1. fk77388

    fk77388 Registered

    Joined:
    Aug 22, 2013
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Greetings,

    There is a section in WHM under plugins titled "Configure cPanel Cron."

    I need to add user-agent to the string that runs curl because modsec is not allowing this cron job to run. Where is it configured?

    Or should I disable them in this section and add them manually?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Is this a "root" cron job? If so, you will need to manually add or modify the cron job via SSH as "root" with a command such as:

    Code:
    crontab -e
    Or, modify the user's cron job directly in the /var/spool/cron/$user file.

    Thank you.
     
Loading...

Share This Page