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 * * *
EXPECTED RESULT
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
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 * * *
EXPECTED RESULT
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