Strange cron.log error

Discussion in 'General' started by slagroom, Dec 3, 2023.

  1. slagroom

    slagroom Member

    Code:
     (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    My cron.log is full of this. The entry is too cryptic for me to solve. I mean, "while read line" ?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This is not an error. This is the report of having successfully run this cron command.
     
  3. slagroom

    slagroom Member

    Oh haha, sorry. Good to know. It looks a little error-ish but I guess this is because I enabled cron.log outside of the log this command creates.
    There are some notices that may be of interest:
    Code:
    Mon 4 Dec 11:30:01 CET 2023 PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/cron.d/100-monitor_hd_quota.inc.php on line 136
    Mon 4 Dec 11:30:01 CET 2023 PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/cron.d/100-monitor_hd_quota.inc.php on line 164
    Mon 4 Dec 11:30:02 CET 2023 PHP Deprecated:  substr_count(): Passing null to parameter #1 ($haystack) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 230
    Mon 4 Dec 11:30:02 CET 2023 PHP Deprecated:  substr_count(): Passing null to parameter #1 ($haystack) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 230
    Mon 4 Dec 11:30:02 CET 2023 PHP Deprecated:  substr_count(): Passing null to parameter #1 ($haystack) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 230
    Mon 4 Dec 11:30:02 CET 2023 PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 235
    Mon 4 Dec 11:30:02 CET 2023 PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 235
    Mon 4 Dec 11:30:02 CET 2023 PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 235
    Mon 4 Dec 11:30:02 CET 2023 PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 235
    Mon 4 Dec 11:30:02 CET 2023 PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 235
    Mon 4 Dec 11:30:02 CET 2023 PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 235
    Mon 4 Dec 11:30:02 CET 2023 PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 235
    Mon 4 Dec 11:30:04 CET 2023 PHP Deprecated:  substr_count(): Passing null to parameter #1 ($haystack) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 230
    Mon 4 Dec 11:30:04 CET 2023 PHP Deprecated:  substr_count(): Passing null to parameter #1 ($haystack) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 230
    Mon 4 Dec 11:30:04 CET 2023 PHP Deprecated:  substr_count(): Passing null to parameter #1 ($haystack) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 230
    Mon 4 Dec 11:30:04 CET 2023 PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 235
    Mon 4 Dec 11:30:04 CET 2023 PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 235
    Mon 4 Dec 11:30:04 CET 2023 PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 235
    Mon 4 Dec 11:30:04 CET 2023 PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 235
    Mon 4 Dec 11:30:04 CET 2023 PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 235
    Mon 4 Dec 11:30:04 CET 2023 PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 235
    Mon 4 Dec 11:30:04 CET 2023 PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 235
    Mon 4 Dec 11:30:05 CET 2023 PHP Warning:  Undefined array key 1 in /usr/local/ispconfig/server/lib/classes/cron.d/100-monitor_mem_usage.inc.php on line 79
    Mon 4 Dec 11:30:05 CET 2023 PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/cron.d/100-monitor_mem_usage.inc.php on line 79
    This is on a debian 12 server.
     

Share This Page