• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Cron Daemon Messages: Root not found

repa

New Pleskian
Hi,

since today i get the follwoing e-mails every 15 minutes:

Cron <root@xyz> root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete

/bin/sh: 1: root: not found

and
Cron <root@xyt> root [ -x /opt/psa/admin/sbin/backupmng ] && /opt/psa/admin/sbin/backupmng >/dev/null 2>&1
/bin/sh: 1: root: not found

Anyone get the same errors?
 
Check your cron syntax. If you are making changes in a local cron file using crontab -e, the job entry should contain 6 fields (not the username) like this:

* * * * * /home/command.sh

A wrong entry like this:

* * * * * root /home/command.sh

would cause cron to interpret "root" as a command.

The syntax "* * * * * root /home/command.sh" is valid for system crontab file /etc/crontab.
 
Hi Igor,

we have not made any modification to cron on this machine!

the cron looks like this:

cat plesk-backup-manager
8,23,38,53 * * * * /opt/psa/admin/sbin/backupmng && /opt/psa/admin/sbin/backupmng >/dev/null 2>&1

cat php5
# /etc/cron.d/php5: crontab fragment for php5
# This purges session files older than X, where X is defined in seconds
# as the largest value of session.gc_maxlifetime from all your php.ini
# files, or 24 minutes if not defined. See /usr/lib/php5/maxlifetime

# Look for and purge old sessions every 30 minutes
09,39 * * * * /usr/lib/php5/maxlifetime && -d /var/lib/php5 && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete
 
Any hint? More Jobs are coming every day, very strange!

Cron <root@xyz> list [ -x /usr/lib/mailman/cron/disabled ] && /usr/lib/mailman/cron/disabled
/bin/sh: 1: list: not found
 
Back
Top