IngusA (User)
Fresh Boarder
Posts: 5
|
|
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
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
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
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
IngusA (User)
Fresh Boarder
Posts: 5
|
|
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
|
|
|
|
|
|
|
Last Edit: 2010/04/27 16:41 By IngusA.
Reason: adding more info
|
|
|
The administrator has disabled public write access.
|
|
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
IngusA (User)
Fresh Boarder
Posts: 5
|
|
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' ##
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
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
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
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|