• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question cronjobs

ChrisPlesk

New Pleskian
Hello I have some cronjobs in my config. What did the do?

15 1 * * * /opt/psa/libexec/modules/watchdog/cp/pack-sysstats day
0 1 * * 1 /opt/psa/libexec/modules/watchdog/cp/send-report weekly
15 1 1 * * /opt/psa/libexec/modules/watchdog/cp/pack-sysstats month
20 1 * * * /opt/psa/libexec/modules/watchdog/cp/clean-events
10 1 * * * /opt/psa/libexec/modules/watchdog/cp/clean-sysstats
15 1 * * 1 /opt/psa/libexec/modules/watchdog/cp/pack-sysstats week
0 3 * * 7 /opt/psa/libexec/modules/watchdog/cp/clean-reports
0 1 * * 1 /opt/psa/libexec/modules/watchdog/cp/secur-check
15 1 1 * * /opt/psa/libexec/modules/watchdog/cp/pack-sysstats year

MAILTO=""
0,10,20,30,40,50 * * * * /opt/psa/admin/bin/php -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/plesk-mobile/scripts/push_worker.php'
MAILTO=""

0 0 7 * * /opt/psa/admin/bin/php -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/letsencrypt/scripts/renew-certificates.php'
MAILTO=""

0 0 * * * /opt/psa/admin/bin/php -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/panel-news/scripts/periodic-task.php'


Thanks

Chris
 
It is cronjobs for different tasks of watchdog module, for plesk-mobile extension, for renewal certificates of letsencrypt extension and task of panel-news extension.
Nothing suspicious.
 
Ok, thanks.

I asked, because I have sometimes the problem that my server is crashing.

For example:

uptime -s
=> 2017-01-26 00:30:45

============ syslog

Jan 26 00:28:01 hxxxxxxxxxx CRON[27721]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jan 26 00:31:03 hxxxxxxxxxx rsyslogd: [origin software="rsyslogd" swVersion="7.4.4" x-pid="421" x-info="http://www.rsyslog.com"] start
Jan 26 00:31:03 hxxxxxxxxxx rsyslogd: rsyslogd's groupid changed to 104
Jan 26 00:31:03 hxxxxxxxxxx rsyslogd: rsyslogd's userid changed to 101
Jan 26 00:31:03 hxxxxxxxxxx kernel: [ 0.000000] Initializing cgroup subsys cpuset
Jan 26 00:31:03 hxxxxxxxxxx kernel: [ 0.000000] Initializing cgroup subsys cpu
Jan 26 00:31:03 hxxxxxxxxxx kernel: [ 0.000000] Initializing cgroup subsys cpuacct
Jan 26 00:31:03 hxxxxxxxxxx kernel: [ 0.000000] Linux version 3.13.0-105-generic (buildd@lgw01-59) (gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) ) #152-Ubuntu SMP Fri Dec 2 15:37:11 UTC 2016 (Ubuntu 3.13.0-105.152-generic 3.13.11-ckt39)
Jan 26 00:31:03 hxxxxxxxxxx kernel: [ 0.000000] Command line: root=/dev/md1 ro biosdevname=0 console=tty0 console=ttyS0,57600
Jan 26 00:31:03 hxxxxxxxxxx kernel: [ 0.000000] KERNEL supported cpus:
Jan 26 00:31:03 hxxxxxxxxxx kernel: [ 0.000000] Intel GenuineIntel
Jan 26 00:31:03 hxxxxxxxxxx kernel: [ 0.000000] AMD AuthenticAMD
Jan 26 00:31:03 hxxxxxxxxxx kernel: [ 0.000000] Centaur CentaurHauls
Jan 26 00:31:03 hxxxxxxxxxx kernel: [ 0.000000] e820: BIOS-provided physical RAM map:
Jan 26 00:31:03 hxxxxxxxxxx kernel: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
Jan 26 00:31:03 hxxxxxxxxxx kernel: [ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
Jan 26 00:31:03 hxxxxxxxxxx kernel: [ 0.000000] BIOS-e820: [mem 0x00000000000e4000-0x00000000000fffff] reserved

========== /apache2/error.log

[Mon Jan 23 23:59:09.648315 2017] [core:notice] [pid 22478:tid 139922907387776] AH00094: Command line: '/usr/sbin/apache2'

[Thu Jan 26 00:31:39.709348 2017] [ssl:warn] [pid 5758:tid 140498503399296] AH01909: RSA certificate configured for lists:443 does NOT include an ID which matches the server name

[Thu Jan 26 00:31:39.709741 2017] [ssl:warn] [pid 5758:tid 140498503399296] AH01909: RSA certificate configured for default-XX_169_232_13:443 does NOT include an ID which matches the server name

[Thu Jan 26 00:31:39.709913 2017] [ssl:warn] [pid 5758:tid 140498503399296] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)

[Thu Jan 26 00:31:39.709936 2017] [suexec:notice] [pid 5758:tid 140498503399296] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)

[Thu Jan 26 00:31:39.744874 2017] [auth_digest:notice] [pid 5759:tid 140498503399296] AH01757: generating secret for digest authentication ...

[Thu Jan 26 00:31:39.745130 2017] [:notice] [pid 5759:tid 140498503399296] mod_bw : Memory Allocated 0 bytes (each conf takes 48 bytes)

[Thu Jan 26 00:31:39.745143 2017] [:notice] [pid 5759:tid 140498503399296] mod_bw : Version 0.92 - Initialized [0 Confs]

[Thu Jan 26 00:31:39.804318 2017] [:notice] [pid 5759:tid 140498503399296] mod_python: Creating 8 session mutexes based on 6 max processes and 25 max threads.

[Thu Jan 26 00:31:39.804364 2017] [:notice] [pid 5759:tid 140498503399296] mod_python: using mutex_directory /tmp

[Thu Jan 26 00:31:39.855426 2017] [ssl:warn] [pid 5759:tid 140498503399296] AH01909: RSA certificate configured for lists:443 does NOT include an ID which matches the server name

[Thu Jan 26 00:31:39.855840 2017] [ssl:warn] [pid 5759:tid 140498503399296] AH01909: RSA certificate configured for default-XX_169_232_13:443 does NOT include an ID which matches the server name

[Thu Jan 26 00:31:39.856022 2017] [ssl:warn] [pid 5759:tid 140498503399296] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)

[Thu Jan 26 00:31:39.857860 2017] [mpm_event:notice] [pid 5759:tid 140498503399296] AH00489: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 mod_jk/1.2.37 mod_python/3.3.1 Python/2.7.6 OpenSSL/1.0.1f configured -- resuming normal operations

[Thu Jan 26 00:31:39.857942 2017] [core:notice] [pid 5759:tid 140498503399296] AH00094: Command line: '/usr/sbin/apache2'

[Thu Jan 26 13:56:01.431711 2017] [mpm_event:notice] [pid 5759:tid 140498503399296] AH00491: caught SIGTERM, shutting down

=========

This happens mostly in the night where no user is using the side. I try to watch the syslog, the memory and cpu usage but i cant find a reason for this. Have you got any idea?

Thanks for help!

Chris
 
Last edited:
Back
Top