• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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