Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th August 2011, 13:40
icinfo icinfo is offline
Junior Member
 
Join Date: Jul 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question Cronjob not working

We're having ISPConf 3.0.3.3. and trying to add cronjob command to the website. The cronjob does not do anything when placed to ISPCOnf but works when put directly as a command.

Definitions for times are:

Minutes: 10
all other time-definations: *

Cronjob site address in the Cronjob comman definitions:

http://sitename.com/administrator/co...lpers/cron.php username="xxx" passwd="xxx" template_id="16"

Is it possible this problem has something to do with the ISPConf settings/configuration? Any ideas?

Amy
__________________
www.internet-content.net
Reply With Quote
Sponsored Links
  #2  
Old 10th August 2011, 14:40
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,389 Times in 4,234 Posts
Default

Please post the exact command that you entered into the command field in the cronjob settings.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 10th August 2011, 17:51
SamTzu SamTzu is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Location: Helsinki
Posts: 426
Thanks: 33
Thanked 55 Times in 38 Posts
Send a message via Skype™ to SamTzu
Default

We have tried it both ways...

Straight from the command line this works...

Quote:
/usr/bin/php /var/www/clients/client3/web137/web/administrator/components/com_csvivirtuemart/helpers/cron.php username="cronjob.user137" passwd="password" template_id="16"
Also tried...

Quote:
http://www.domain.com/administrator/...lpers/cron.php username="cronjob.user137" passwd="password" template_id="16"
Neither worked unless run straight from command line.
__________________

Sami Mattila
Internet-Content

Telephone:
00358942833310
Email: firstname.lastname@internet-content.org
Shop: http://shop.internet-content.net
Site: http://www.internet-content.net
Blog: http://www.internet-content.net/en/blog
FB: https://www.facebook.com/internetcontent

Reply With Quote
  #4  
Old 10th August 2011, 17:53
SamTzu SamTzu is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Location: Helsinki
Posts: 426
Thanks: 33
Thanked 55 Times in 38 Posts
Send a message via Skype™ to SamTzu
Default

This is the command we would like to run but it's rather long.

Quote:
/usr/bin/php "/var/www/clients/client3/web137/web/administrator/components/com_csvivirtuemart/helpers/cron.php" username="cronjob.user137" passwd="password" jform:general:exportto="tofile" jform:general:localpath="/var/www/clients/client3/web137/web/media" jform:general:export_file="csv" jform:general:field_delimiter="," jform:general:category_separator="/" jform:general:include_column_headers="1" jform:general:groupby="1" jform:general:vm_itemid="11" jform:general:export_date_format="d/m/Y H:i:s" jform:general:export_price_format_decimal="2"
__________________

Sami Mattila
Internet-Content

Telephone:
00358942833310
Email: firstname.lastname@internet-content.org
Shop: http://shop.internet-content.net
Site: http://www.internet-content.net
Blog: http://www.internet-content.net/en/blog
FB: https://www.facebook.com/internetcontent

Reply With Quote
  #5  
Old 11th August 2011, 09:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,389 Times in 4,234 Posts
Default

It might be that the command is too long. Check the command that is stored in the cront file in /etc/cron.d if it is complete.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 19th August 2011, 09:48
SamTzu SamTzu is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Location: Helsinki
Posts: 426
Thanks: 33
Thanked 55 Times in 38 Posts
Send a message via Skype™ to SamTzu
Default

I think I found the problem. (OpenVZ client)

Jail kit gives this error when I try to upgrade it.
Quote:
Setting up jailkit (2.14-1) ...
insserv: warning: script 'K01jailkit' missing LSB tags and overrides
insserv: warning: script is corrupt or invalid: /etc/init.d/../rc6.d/S00vzreboot
This probably messes up the users cron.
__________________

Sami Mattila
Internet-Content

Telephone:
00358942833310
Email: firstname.lastname@internet-content.org
Shop: http://shop.internet-content.net
Site: http://www.internet-content.net
Blog: http://www.internet-content.net/en/blog
FB: https://www.facebook.com/internetcontent

Reply With Quote
Reply

Bookmarks

Tags
cronjob

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
ISPConfig cronjob not working why? ph-tvs Installation/Configuration 3 22nd February 2011 17:29
Qemu-kVM setup vm using 2 NIC's are not working muzi Technical 1 14th February 2011 22:27
auto update svn working copy donix Installation/Configuration 0 9th June 2010 20:59
cronjob not working vogelor General 1 9th October 2009 12:05
DNS stop working MZH General 3 22nd February 2008 11:10


All times are GMT +2. The time now is 08:26.


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