• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Forwarded to devs Scheduled task format changes when a subscription is suspended and reactivated

macadia

Basic Pleskian
Username:

TITLE

Scheduled task format changes when a subscription is suspended and reactivated

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk Obsidian v18.0.73_build1800251009.17 os_RedHat el9
AlmaLinux 9.6 (Sage Margay)

PROBLEM DESCRIPTION

When a subscription is suspended, all scheduled tasks created under it are deactivated. That's correct, but when the subscription is reactivated, although the scheduled tasks that were active are reactivated, they lose their original formatting and associated comments.

STEPS TO REPRODUCE

Create a cron using execute PHP script with argument

Example:
httpdocs/cms/crontabs/cron_php.php argument_value
Notify users of available replacement products for created requests // this is a comment
*/15 9-21 * * *

Suspend the subscription
Reactivate the subscription again
Check the scheduled tasks page
Edit 1 scheduled tak

ACTUAL RESULT

(/opt/plesk/php/8.4/bin/php -f 'httpdocs/cms/crontabs/cron_php.php' -- 'argument_value') */15 9-21 * * *

KDJdE3g.jpg


EXPECTED RESULT

KDJf07e.md.jpg


ANY ADDITIONAL INFORMATION

For users who aren't as advanced as me, it's important to maintain the cronjob format exactly as it was created, and keeping the comments is even more important.

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Hello, @macadia . Thank you for the report. I was able to replicate the described behaviors after the subscription suspension and forwarded them to our team for further review.
 
Back
Top