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

Resolved Windows Scheduler : The task's XML file contains too many nodes

Frank.P

Regular Pleskian
Code:
Unable to synchronize task eb918e8fd4d28e77e351c1e23f254f00 with Windows Scheduler: System.Runtime.InteropServices.COMException (0x8004131D): El archivo XML de tarea contiene demasiados nodos del mismo tipo. (Excepción de HRESULT: 0x8004131D)
   en System.Runtime.InteropServices.ComTypes.IPersistFile.Save(String pszFileName, Boolean fRemember)
   en TaskScheduler.Task.Save()
   en psa.scheduler.device.PSASchedulerTask.UpdateWindowsSchedulerTask(PleskSchedulesCollection scheduledTasks, String account)
   en psa.scheduler.device.PSAScheduler.SyncWithWindowsScheduler(String userName)

img1.png


CRONTAB

Always in days from 1 to 4
Every 4 minutes if hour is (From 0h to 9h and from 21h to 23h)

1,4,8,12,16,20,24,28,32,36,40,44,48,52,56 0,1,2,3,4,5,6,7,8,9,21,22,23 1,2,3,4 * *


In linux will be : */5 0-9,21-23 1-4 * * , but in windows not allow */5 and dash
How can I do ?
 
Last edited:
Current implementation of Task Scheduler in Plesk means that there will be task with lot of triggers defined:
0:1, 0:4, 0:8, ..., 1:1, 1:4, 1:8, ... 23:1, 23:4, 23:8, ..., 23:56
created.
This means that there will be 12*15=180 triggers for one task.
However in Windows, there is a limitation that one task can have only 48 triggers.

So for your scenario currently there is workaround:
you need to configure 4 tasks, and every task should have no more than 48 triggers, for example:
1,4,8,12,16,20,24,28,32,36,40,44,48,52,56 0,1,2,3 1,2,3,4 * *
1,4,8,12,16,20,24,28,32,36,40,44,48,52,56 4,5,6,7 1,2,3,4 * *
1,4,8,12,16,20,24,28,32,36,40,44,48,52,56 8,9 1,2,3,4 * *
1,4,8,12,16,20,24,28,32,36,40,44,48,52,56 21,22,23 1,2,3,4 * *

I see 2 improvements for Plesk here:
1) in case some problem appeared with Task scheduling, error should be reported properly in UI
2) this also should be considered as feature request for us to support syntax like "*/5" on Windows platform. In this case it will be configured as one trigger with "repeat every 5 minutes".
 
Current implementation of Task Scheduler in Plesk means that there will be task with lot of triggers defined:
0:1, 0:4, 0:8, ..., 1:1, 1:4, 1:8, ... 23:1, 23:4, 23:8, ..., 23:56
created.
This means that there will be 12*15=180 triggers for one task.
However in Windows, there is a limitation that one task can have only 48 triggers.

So for your scenario currently there is workaround:
you need to configure 4 tasks, and every task should have no more than 48 triggers, for example:
1,4,8,12,16,20,24,28,32,36,40,44,48,52,56 0,1,2,3 1,2,3,4 * *
1,4,8,12,16,20,24,28,32,36,40,44,48,52,56 4,5,6,7 1,2,3,4 * *
1,4,8,12,16,20,24,28,32,36,40,44,48,52,56 8,9 1,2,3,4 * *
1,4,8,12,16,20,24,28,32,36,40,44,48,52,56 21,22,23 1,2,3,4 * *

I see 2 improvements for Plesk here:
1) in case some problem appeared with Task scheduling, error should be reported properly in UI
2) this also should be considered as feature request for us to support syntax like "*/5" on Windows platform. In this case it will be configured as one trigger with "repeat every 5 minutes".


I hope in next release will be fixed or add improvement 2
 
Back
Top