A
A
Anton2018-06-27 19:31:19
1C-Bitrix
Anton, 2018-06-27 19:31:19

How to set up export through agents in Bitrix?

I created a profile in the export of goods (a la Yandex market), manually click "Export" and at the output I get an xml file in a 400 kilobyte upload folder
. Then I added a binding to agents in the same place.
So - when you start the export through the agent, the xml unloading file can be seen that it is overwritten, but the whole is not formed, the first three lines are literally written into it and that's it. and weighs 109 bytes.
What kind of glitch is this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Burlaka, 2018-06-27
@anton99zel

Does anything get in there? Does it break in the same place every time?

A
Anton, 2018-06-28
@anton99zel

I'll add one more solution that arose in the process of setting up cron and autoload
. In the _run.php file where the upload is formed, you need to add
where 87 is the user id with administrative rights.
After this code, the upload worked via cron and the problem with using function ConvertCharset() disappeared

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question