Joomla!ŪPlug

. XCloner - Backup and Restore Component

OOPS. Your Flash player is missing or outdated.Click here to update your player so you can see this content.
Joomla backup and restore component

XCloner for Wordpress new!

 
 
JoomlaPlug.com
Welcome, Guest
Please Login or Register.    Lost Password?
JCron and CSVI VirtueMart export shedule (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: JCron and CSVI VirtueMart export shedule
#6478
IngusA (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
JCron and CSVI VirtueMart export shedule 1 Year, 9 Months ago  
Hi,

I want to shedule CSVI export for VirtueMart.

As I know the command line for CSVI cron jobs is:

php /administrator/components/com_csvivirtuemart/helpers/cron.php username="....." passwd="......" template_name="CSVI Product export"

When I add this command line to JCron, nothing happens. Maybe I can add little different command?

Or maybe I can use http://mysite.com/administrator/components/com_csvivirtuemart/helpers/cron.php username="....." passwd="......" template_name="CSVI Product export"

Can anybody help me?

Ingus
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#6479
admin (Admin)
Admin
Posts: 2927
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:JCron and CSVI VirtueMart export shedule 1 Year, 9 Months ago  
Hi there! It might be better to ask for some support from the CSVI developers to get the right cron command for your server, the above commands are incorrect from what i can understand

Regards, Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#6480
IngusA (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Re:JCron and CSVI VirtueMart export shedule 1 Year, 9 Months ago  
Hi,

This command line I get from CSVI support.

When I execute this command from webserver cronjob then sheduled export is working but with wrong links to product images. The way D://wamp/www/administrator/components/com_csvivirtuemart/helpers from webserver cronjob commandline is added to the product images link...

And I hope that if I run sheduled export from JCron, the way to the product images will be right. I just do not understand why no one starting up cronjob.

I change " to ' and now command line looks http://www.inter-riga.lv/administrator/components/com_csvivirtuemart/helpers/cron.php username='admin' passwd='xxxxxx' template_name='CSVI Product Export_kurpirktLV'.
Task type I use Web Address fsockopen, the allow_url_fopen php.ini variable set to On.

Now cron is started but don't execute the script because log file tells that file cron.php was not found on server:

OUT is(GET /administrator/components/com_csvivirtuemart/helpers/cron.php username='admin' passwd='xxxxxxx' template_name='CSVI Product Export_salidziniLV' HTTP/1.1
Host: www.inter-riga.lv
Connection: Close

)HTTP/1.1 404 Not Found
Date: Tue, 27 Apr 2010 20:00:00 GMT
Server: Apache/2.2.11 (Win32) PHP/5.2.9-2
Content-Length: 258
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /administrator/components/com_csvivirtuemart/helpers/cron.php was not found on this server.</p>
</body></html>


Where could be the problem???

Regards, Ingus
 
Report to moderator   Logged Logged  
 
Last Edit: 2010/04/27 16:41 By IngusA. Reason: adding more info
  The administrator has disabled public write access.
#6481
admin (Admin)
Admin
Posts: 2927
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:JCron and CSVI VirtueMart export shedule 1 Year, 9 Months ago  
Well if you try to open this url http://www.inter-riga.lv/administrator/components/com_csvivirtuemart/helpers/cron.php in your browser, it doesn't seem to work, so you need to recheck the cron command format

Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#6482
IngusA (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Re:JCron and CSVI VirtueMart export shedule 1 Year, 9 Months ago  
Hi!

Well, I change task type to SSH Command and add command line:

php /administrator/components/com_csvivirtuemart/helpers/cron.php username='admin' passwd='xxxxxxx' template_name='CSVI Product Export_salidziniLV'

Now command is working, I think. But not created the necessary xml export file.

I'll give Last Run Log Text:

Array
## exec(php /administrator/components/com_csvivirtuemart/helpers/cron.php username='admin' passwd='raunas27' template_name='CSVI Product Export_salidziniLV&#039 ##

LOCAL CRON DEBUG:

<b>Working on cron schedule: 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58 * * * *</b>........


I don't see any errors in Log Text.
I don't understand what I do wrong, because this command line working from webserver's Cronjob command line but as I said with adding wrong additional paths to product images.

Regards, Ingus
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#6483
admin (Admin)
Admin
Posts: 2927
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:JCron and CSVI VirtueMart export shedule 1 Year, 9 Months ago  
The "/administrator/components/com_csvivirtuemart... " is not a valid server path, it needs to indicate a full path to that script, so try and check with your hosting support if you don't know the full path of your webroot folder!

Regards, Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Search JoomlaPlug.com

All rights reserved to JoomlaPlug.com ©2006-2012!

The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries.
JoomlaPlug.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.