• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be 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.

Issue Scheduled Tasks keep Running

Jay Clearvoyant

New Pleskian
Hi all,

So I was doing some tests with scheduled tasks and it appears for some reason my tasks keep on running...
If I visit my tasks manually over browser they just work fine.
It's an php script that does a few things but it doesn't output anything, or is it required for a task to output something?

I started the same task again in hopes that it might do the job but it still didn't.
(Screenshot:
68189dc45070b0b60c57ce54ab6c327a.png

Gyazo - 68189dc45070b0b60c57ce54ab6c327a.png )

The only way to end the tasks is by running the command "service psa restart" (restarting plesk itself).
Which then generates this error:
f6a875abd2c2ab03599cab8e45d09970.png

Gyazo - f6a875abd2c2ab03599cab8e45d09970.png

My version:
Plesk Onyx
Version 17.5.3 Update #27


Any idea guyes?

Thanks!
 
Actually, you can stop these stuck tasks without restarting psa service. Just go to Plesk database with

# plesk db

Find tasks in longtasks table:

mysql>select * from longtasks;

and delete these tasks.
but it doesn't output anything, or is it required for a task to output something?
Yes, I suppose these tasks should be ended with some kind of exit code, isn't it?
 
Back
Top