• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is 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.

Problems with cronjob

henkbart

New Pleskian
Hello,

Since the upgrade to version 8.3 i got an error on a cronjob :

Cron /opt/kav/5.5/kav4mailservers/bin/parse_avstat.pl -d -sd=/opt/kav/5.5/kav4mailservers/proc_avstat /var/log/kav/5.5/kav4mailservers/avstats.log

This generates the following error :

Logfile '/var/log/kav/5.5/kav4mailservers/avstats.log' does not exist

Doen anyone has this problem and who knows what to do about this problem??

Henk
 
Hi,

If file "/var/log/kav/5.5/kav4mailservers/avstats.log" does not exist on server create it. After that you should stop getting this error from cron task.
 
That solution works for 1 day. After running he renames or deletes that file so the next day i got the same error. Thanks for your suggestion, but that doesn't work quit good.

Looking for a more permanent solution.
 
Well I have modified the cronjob to be like this :

touch /var/log/kav/5.5/kav4mailservers/avstats.log ; /opt/kav/5.5/kav4mailservers/bin/parse_avstat.pl -d -sd=/opt/kav/5.5/kav4mailservers/proc_avstat /var/log/kav/5.5/kav4mailservers/avstats.log

tested few times. works fine.
 
Hey, can you tell me where (which file) the cron task is to find?
I don't see any related cron tasks in the dedicated files but I get the same error.
need to know where to look
thanks
 
Hello steakknife,

The cron generally is set to run under user kluser . You either can edit the cronjob from plesk directly by going under Server -> Scheduled tasks and choose user kluser or you can edit it in ssh directly
crontab -e -u kluser
 
Back
Top