• 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

No email on scheduled tasks, plesk 12.5 centos 7 (new install)

rdadmin

New Pleskian
Hi, on every plesk 12.5 with centos 7 installed that i tried to setup a scheduled task with an always notification option, there is no email, do not work.
No entry on maillog or anything. Same configuration on a plesk 12.5 centos 6 works well.

One example,

The option in scheduled tasks is configured as "always send mail to the admin account":
cat /var/spool/cron/xxxx
MAILTO="xxx@xxxxx"
SHELL="/usr/local/psa/bin/chrootsh"
* * * * * echo "prueba"

The cron runs well:
~]# tail -f /var/log/cron |grep prueba
May 31 12:15:01 xxxxx CROND[89661]: (xxxx) CMD (echo "prueba")
May 31 12:15:01 xxxxx CROND[89658]: (xxxx) CMDOUT (prueba)

There is no entries related in maillog, i tried with different shell options for the user and nothing.

Anyone can do a check on this?

Thanks
 
Back
Top