• 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/

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