P
P
po4emu4ka20202020-11-02 19:43:02
1C-Bitrix
po4emu4ka2020, 2020-11-02 19:43:02

How to put a script with Bitrix API on cron via the console?

I put on cron a script that uses the Bitrix API.
I put the script itself in php_interface/include

To begin with, I try to execute the script through the console
/usr/bin/php-cgi /home/bitrix/ext_www/dev.site.ru/local/php_interface/include/cron.php
The console throws out the authorization form markup.

Tried to throw a script even in a root - does not help.
How to make it work without authorization request?

Thanks in advance for any advice.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
scottparker, 2020-11-02
@scottparker

log in to the script)
and the agent is not easier to make?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question