Cron Jobs

Discussion in 'Installation/Configuration' started by Nolan, Dec 17, 2010.

  1. Nolan

    Nolan Member

    Hi,

    I have a question about Cron Jobs.

    I have a script on my site that's supposed to send out emails, and it says for cPanel to insert this cronjob
    Code:
    wget -O /dev/null "http://www.domain.com/index.php?option=com_community&task=cron" > /dev/null
    Would this same job work in ISPConfig as well?

    If the Answer is yes, here is the Cron log
    Code:
    postqueue: warning: Mail system is down -- accessing queue directly
    postqueue: warning: Mail system is down -- accessing queue directly
    postqueue: warning: Mail system is down -- accessing queue directly
    postqueue: warning: Mail system is down -- accessing queue directly
    postqueue: warning: Mail system is down -- accessing queue directly
    postqueue: warning: Mail system is down -- accessing queue directly
    postqueue: warning: Mail system is down -- accessing queue directly
    postqueue: warning: Mail system is down -- accessing queue directly
    postqueue: warning: Mail system is down -- accessing queue directly
    postqueue: warning: Mail system is down -- accessing queue directly
    postqueue: warning: Mail system is down -- accessing queue directly
    postqueue: warning: Mail system is down -- accessing queue directly
    rm: cannot remove `/tmp/ISPConfig-3.0.3.1.tar.gz': No such file or directory
    rm: cannot remove `/tmp/ispconfig3_install': No such file or directory
    --2010-12-13 12:49:02-- http://www.ispconfig.org/downloads/ISPConfig-3.0.3.1.tar.gz
    Resolving www.ispconfig.org... 78.46.59.59
    Connecting to www.ispconfig.org|78.46.59.59|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2010-12-13 12:49:02 ERROR 404: Not Found.
    
    tar: ISPConfig-3.0.3.1.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    Could not open input file: autoupdate.php
    rm: cannot remove `/tmp/ISPConfig-3.0.3.1.tar.gz': No such file or directory
    rm: cannot remove `/tmp/ispconfig3_install': No such file or directory
    FATAL: Could not load /lib/modules/2.6.18-028stab077.1/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/2.6.18-028stab077.1/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/2.6.18-028stab077.1/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/2.6.18-028stab077.1/modules.dep: No such file or directory
    mkdir: cannot create directory `/var/www/clients/client1/web1/var': File exists
    mkdir: cannot create directory `/var/www/clients/client1/web1/var/run': File exists
    mkdir: cannot create directory `/var/www/clients/client1/web1/var/run/mysqld': File exists
    ln: creating hard link `/var/www/clients/client1/web1/var/run/mysqld/mysqld.sock': File exists
    invalid shell, /var/www/clients/client1/web1/bin/bash does not exist
    usermod: no changes
    [Tue Dec 14 20:36:01 2010] [warn] NameVirtualHost 208.53.183.76:443 has no VirtualHosts
    [Tue Dec 14 20:36:03 2010] [warn] NameVirtualHost 208.53.183.76:443 has no VirtualHosts
    [Tue Dec 14 20:40:06 2010] [warn] NameVirtualHost 208.53.183.76:443 has no VirtualHosts
    [Tue Dec 14 20:40:09 2010] [warn] NameVirtualHost 208.53.183.76:443 has no VirtualHosts
    [Tue Dec 14 20:41:01 2010] [warn] NameVirtualHost 208.53.183.76:443 has no VirtualHosts
    [Tue Dec 14 20:41:02 2010] [warn] NameVirtualHost 208.53.183.76:443 has no VirtualHosts
    invalid shell, /var/www/clients/client1/web2/bin/bash does not exist
    mkdir: cannot create directory `/var/www/clients/client1/web2/var': File exists
    mkdir: cannot create directory `/var/www/clients/client1/web2/var/run': File exists
    mkdir: cannot create directory `/var/www/clients/client1/web2/var/run/mysqld': File exists
    ln: creating hard link `/var/www/clients/client1/web2/var/run/mysqld/mysqld.sock': File exists
    invalid shell, /var/www/clients/client1/web2/bin/bash does not exist
    usermod: no changes
    mkdir: cannot create directory `/var/www/clients/client1/web2/var': File exists
    mkdir: cannot create directory `/var/www/clients/client1/web2/var/run': File exists
    mkdir: cannot create directory `/var/www/clients/client1/web2/var/run/mysqld': File exists
    ln: creating hard link `/var/www/clients/client1/web2/var/run/mysqld/mysqld.sock': File exists
    invalid shell, /var/www/clients/client1/web2/bin/bash does not exist
    usermod: no changes
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    mkdir: cannot create directory `/var/www/clients/client1/web2/var': File exists
    mkdir: cannot create directory `/var/www/clients/client1/web2/var/run': File exists
    mkdir: cannot create directory `/var/www/clients/client1/web2/var/run/mysqld': File exists
    ln: creating hard link `/var/www/clients/client1/web2/var/run/mysqld/mysqld.sock': File exists
    invalid shell, /var/www/clients/client1/web2/bin/bash does not exist
    usermod: no changes
    usermod: unlocking the user would result in a passwordless account.
    You should set a password with usermod -p to unlock this user account.
    mkdir: cannot create directory `/var/www/clients/client1/web2/var': File exists
    mkdir: cannot create directory `/var/www/clients/client1/web2/var/run': File exists
    mkdir: cannot create directory `/var/www/clients/client1/web2/var/run/mysqld': File exists
    ln: creating hard link `/var/www/clients/client1/web2/var/run/mysqld/mysqld.sock': File exists
    invalid shell, /var/www/clients/client1/web2/bin/bash does not exist
    usermod: no changes
    mkdir: cannot create directory `/var/www/clients/client1/web2/var': File exists
    mkdir: cannot create directory `/var/www/clients/client1/web2/var/run': File exists
    mkdir: cannot create directory `/var/www/clients/client1/web2/var/run/mysqld': File exists
    ln: creating hard link `/var/www/clients/client1/web2/var/run/mysqld/mysqld.sock': File exists
    invalid shell, /var/www/clients/client1/web2/bin/bash does not exist
    usermod: no changes
    mkdir: cannot create directory `/var/www/clients/client1/web2/var': File exists
    mkdir: cannot create directory `/var/www/clients/client1/web2/var/run': File exists
    mkdir: cannot create directory `/var/www/clients/client1/web2/var/run/mysqld': File exists
    ln: creating hard link `/var/www/clients/client1/web2/var/run/mysqld/mysqld.sock': File exists
    invalid shell, /var/www/clients/client1/web2/bin/bash does not exist
    usermod: no changes
     
  2. Nolan

    Nolan Member

    I answered my own question.

    That format is suitable, the cron job worked.
     

Share This Page