#1  
Old 17th December 2010, 22:13
Nolan Nolan is offline
Member
 
Join Date: Nov 2010
Posts: 81
Thanks: 2
Thanked 5 Times in 4 Posts
Default Cron Jobs

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
Reply With Quote
Sponsored Links
  #2  
Old 17th December 2010, 23:37
Nolan Nolan is offline
Member
 
Join Date: Nov 2010
Posts: 81
Thanks: 2
Thanked 5 Times in 4 Posts
 
Default

I answered my own question.

That format is suitable, the cron job worked.
Reply With Quote
The Following User Says Thank You to Nolan For This Useful Post:
falko (18th December 2010)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cron jobs not running IrDA Installation/Configuration 8 18th November 2011 14:17
ISPConfig cron jobs mphayesuk General 3 30th August 2009 11:15
cron jobs collimic General 1 26th July 2009 12:57
Cron jobs from within ISPConfig - Dont want emails robit Installation/Configuration 5 21st July 2008 17:53
How to disable the shell cron jobs? raymov General 3 1st November 2005 04:43


All times are GMT +2. The time now is 09:28.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.