K
K
konellemhs2020-02-27 03:20:08
Task Schedulers
konellemhs, 2020-02-27 03:20:08

cron and phpspreadsheets problems?

Good afternoon, there is a problem, help me solve it)

I run the script on the OS through cron tasks

%progdir%\modules\php\%phpdriver%\php-win.exe -c %progdir%\modules\php\%phpdriver%\php.ini -q -f %sitedir%\localhost\testcron.php


After this line, the script is not executed,
$spreadsheet = IOFactory::load($inputFileName);
but when the page is loaded from the browser, it loads perfectly, that is, there are no problems with the code part. problems start when using cron (

Please tell me what to do with this and how to be ??

UPD. I don’t rummage in cron commands, treat with understanding)))

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question