• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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