M
M
maxeee522020-07-28 17:20:07
Task Schedulers
maxeee52, 2020-07-28 17:20:07

Why doesn't CRON work on OSpanel?

Tried to start CRON in different ways, in all cases I get Result 0

"%progdir%\modules\wget\bin\wget.exe" -q --no-cache http://transfer/test.php -O nul
%progdir%\modules\wget\bin\wget.exe -q --no-cache https://transfer/test.php -O nul
%progdir%\modules\php\%phpdriver%\php-win.exe -c %progdir%\userdata\config\PHP-7.2-x64_php.ini -q -f %sitedir%\transfer\test.php


Logs

28 Jul 17:15:09 Start: c:\ospanel\modules\php\PHP-7.2-x64\php-win.exe -c c:\ospanel\userdata\config\PHP-7.2-x64_php.ini -q -f c:\ospanel\domains\transfer\test.php
28 Jul 17:15:09 Start: c:\ospanel\modules\wget\bin\wget.exe -q --no-cache https://transfer/test.php -O nul
28 Jul 17:15:09 Start: "c:\ospanel\modules\wget\bin\wget.exe" -q --no-cache http://transfer/test.php -O nul
28 Jul 17:15:09 Start result: 0
28 Jul 17:15:09 Start result: 0
28 Jul 17:15:09 Start result: 0


I also found Apache logs

transfer: 127.0.0.1 [28/Jul/2020:17:15:11 +0300] "GET /test.php HTTP/1.0" 403 1018 "-" "Wget/1.11.4"

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