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.

Cron PHPlist - answer!

Discussion in 'General Discussion' started by swiftecit, Oct 5, 2006.

  1. swiftecit

    swiftecit Member

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

    Personally I have been frustrated that I could not find this answer on any of the boards. It took many attempts, much searching - and then I figured it out. so here is the answer.

    if you want to add phplist to your cron jobs - use something similar to the following:

    10 10 * * * cd '/home/username/public_html/phplist/admin/' ; php -q index.php -p processqueue > /dev/null ;

    The two problems I found was that the user cannot "see" /home, but could see its directories under home. Hence the cd /... is required.

    Secondly, I found that NO username or password needs to be piped in.

    Try it - see if this works for you. It is what I have been looking for for a month.

    Adam Winter
    www.swiftecit.com
     
Loading...

Share This Page