• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Resolved Scheduled Task not work

- an existing file .emailpass with content is overritten with an empty file
- if have changed to /usr/local/psa/admin/bin/mail_auth_view 2>&1 > /var/www/vhosts/kdb/stfg/.emailpass, but no success
- no errors in logs
- in syslog: CRON[20080]: (root) CMD (/usr/local/psa/admin/bin/mail_auth_view 2>&1 > /var/www/vhosts/kdb/stfg/.emailpass > /dev/null)

How is the correct syntax?
 
The problem is > /dev/null at the end and that you do not see this in Command!
In /var/spool/cron/crontabs/root it can seen.
I delete here > /dev/null at the end: /usr/local/psa/admin/bin/mail_auth_view 2>&1 > /var/www/vhosts/kdb/stfg/.emailpass

Now it works!
 
Back
Top