• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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