cron with lynx failed

Discussion in 'General' started by aclhkaclhk, Nov 30, 2010.

  1. aclhkaclhk

    aclhkaclhk New Member

    using debian 5.0.6 and in ispconfig 3.0.2.2 , i setup a cron to run lynx regularly:

    /etc/cron.d/
    MAILTO='peter@abc.com'
    SHELL='/usr/sbin/jk_chrootsh'

    */10 * * * * /usr/bin/lynx -dump 'http://www.abc.com/phplist/lists/admin/index.php?page=processqueue&login=admin&password=admin' > processqueue.html

    I got an error message for the cron command via email:
    Configuration file "/etc/lynx-cur/lynx.cfg" is not available.

    this /etc/lynx-cur/lynx.cfg does exist!

    if i manually run this command in ssh, it works!

    pls advise.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Is this a jailed cronjob? If yes, then you will have to copy the /etc/lynx-cur/lynx.cfg into the local etc flder of the website.
     

Share This Page