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 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:
    151
    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

  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