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.

PHPLIST - insufficient permission to run from command line

Discussion in 'General Discussion' started by swiftecit, Sep 18, 2006.

  1. swiftecit

    swiftecit Member

    Joined:
    Jun 30, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    hello all,

    I put phplist into crontab to run on certain days of the week. when it runs I get

    Error: Sorry, You (username) do not have sufficient permissions to run phplist on commandline

    I have been searching and searching and cannot find where/how to fix this.

    please help.
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    What are the permissions and ownership of the script you are trying to run?
     
  3. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    Does your server run your scripts as yourself or as a generic user like "nobody"? (ie does it have phpsuexec). If it runs as a generic user you'll probably need to call phplist via a web URL which you can do from crontab with a crontab line like "GET http://yoursite.com/phplist/whateveryouneedtorun".
     
Loading...

Share This Page