Jump to content

cron (task.php script) sometimes throughs exceptions


Go to solution Solved by Daniel F,

Recommended Posts

Cron  /usr/bin/php -d memory_limit=-1 -d max_execution_time=0 /var/www/xxxxxxxxxx/webroot/forums/applications/core/interface/task/task.php 4d93fb6a0c7d7326fda22ffa83e2c0e8

 

 

Exception:
IPS\Http\Request\CurlException Object
(
   [message:protected] => https://api.indexnow.org/indexnow/
Operation timed out after 10001 milliseconds with 0 bytes received
   [string:Exception:private] => 
   [code:protected] => 28
   [file:protected] => /var/www/xxxxxxxxxxx/webroot/forums/system/Http/Request/Curl.php
   [line:protected] => 398
   [trace:Exception:private] => Array
       (
           [0] => Array
               (
                   [file] => /var/www/xxxxxxxxxxx/webroot/forums/system/Http/Request/Curl.php
                   [line] => 422
                   [function] => _execute
                   [class] => IPS\Http\Request\_Curl
                   [type] => ->
               )

           [1] => Array
               (
                   [file] => /var/www/xxxxxxxxxxx/webroot/forums/system/Http/Request/Curl.php
                   [line] => 317
                   [function] => _executeAndFollowRedirects
                   [class] => IPS\Http\Request\_Curl
                   [type] => ->
               )

           [2] => Array
               (
                   [file] => /var/www/xxxxxxxxxxx/webroot/forums/applications/core/sources/IndexNow/IndexNow.php
                   [line] => 99
                   [function] => post
                   [class] => IPS\Http\Request\_Curl
                   [type] => ->
               )

           [3] => Array
               (
                   [file] => /var/www/xxxxxxxxxxx/webroot/forums/applications/core/extensions/core/Queue/IndexNow.php
                   [line] => 57
                   [function] => send
                   [class] => IPS\core\_IndexNow
                   [type] => ->
               )

           [4] => Array
               (
                   [file] => /var/www/xxxxxxxxxxx/webroot/forums/system/Task/Task.php
                   [line] => 47
                   [function] => run
                   [class] => IPS\core\extensions\core\Queue\_IndexNow
                   [type] => ->
               )

           [5] => Array
               (
                   [file] => /var/www/xxxxxxxxxxx/webroot/forums/applications/core/tasks/queue.php
                   [line] => 43
                   [function] => runQueue
                   [class] => IPS\_Task
                   [type] => ::
               )

           [6] => Array
               (
                   [file] => /var/www/xxxxxxxxxxx/webroot/forums/system/Task/Task.php
                   [line] => 367
                   [function] => IPS\core\tasks\{closure}
                   [class] => IPS\core\tasks\_queue
                   [type] => ->
               )

           [7] => Array
               (
                   [file] => /var/www/xxxxxxxxxxx/webroot/forums/applications/core/tasks/queue.php
                   [line] => 55
                   [function] => runUntilTimeout
                   [class] => IPS\_Task
                   [type] => ->
               )

           [8] => Array
               (
                   [file] => /var/www/xxxxxxxxxxx/webroot/forums/system/Task/Task.php
                   [line] => 266
                   [function] => execute
                   [class] => IPS\core\tasks\_queue
                   [type] => ->
               )

           [9] => Array
               (
                   [file] => /var/www/xxxxxxxxxxx/webroot/forums/system/Task/Task.php
                   [line] => 229
                   [function] => run
                   [class] => IPS\_Task
                   [type] => ->
               )

           [10] => Array
               (
                   [file] => /var/www/xxxxxxxxxxx/webroot/forums/applications/core/interface/task/task.php
                   [line] => 58
                   [function] => runAndLog
                   [class] => IPS\_Task
                   [type] => ->
               )

       )

   [previous:Exception:private] => 
)

Anybody knows what this means and what to do about it?

Edited by Michel_72
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...