- Server operating system version
- Debian 12.11
- Plesk version and microupdate number
- 18.0.69 Update 3
Resolved - Daily cronjob "email-security/scripts/sa-train-bayes.php" fails
Since 13.03.2025 the daily cronjob "/opt/psa/admin/bin/php -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/email-security/scripts/sa-train-bayes.php" fails. "Plesk E-Mail Security Pro" version 1.5.12-5258 Admin error e-mail: Cron /opt/psa/admin/bin/php -dauto_prepend_file=sdk.php...

Back then, the same error occurred… however, with the current version, the following issue still persists:
Code:
ERR
panel [1011927:67dc4a693d095]
Long task executor: id=619 completed with error: Scheduled task failed:
0: /opt/psa/admin/plib/Task/Async/Executor.php:56
Task_Async_Executor->execute()
1: /opt/psa/admin/plib/scripts/task-async-executor.php:6
ERR
panel [1011927:67dc4a693d095]
Task failed: id=619, pid=1011927, type=scheduler-run-task, error=PleskUserException: Scheduled task failed
file: /opt/psa/admin/plib/Scheduler/RunTask.php
line: 54
code: 0
trace: #0 /opt/psa/admin/plib/Db/Table/Broker/LongTasks.php(178): Scheduler_RunTask->run()
#1 /opt/psa/admin/plib/Db/Table/Broker/LongTasks.php(113): Db_Table_Broker_LongTasks->_syncStart(object of type Db_Table_Row_LongTask)
#2 /opt/psa/admin/plib/Task/Async/Executor.php(54): Db_Table_Broker_LongTasks->runTaskWithinExecutor(object of type Db_Table_Row_LongTask)
#3 /opt/psa/admin/plib/scripts/task-async-executor.php(6): Task_Async_Executor->execute()
ERR
extension/email-security [1011935:67dc4a6d09ca0]
Execution salearn has failed with exit code 1, stdout: Learned tokens from 0 message(s) (0 message(s) examined)
, stderr:
Although some time has passed, the error still occurs daily when running the cron job.