Paul Hermans
Basic Pleskian
Anybody having problems with Scheduled Tasks?
After running a Plesk update via Powershell: plesk installer --select-release-latest --upgrade-installed-components
We get these errors on a clean Windows Server 2019 server:
We got similar errors on another server from the "Backup task notification"
The same error appears via Plesk > Scheduled Tasks when editing (or simply click Apply) a task from: "server (user: Plesk Panel)"
This counts for all tasks of this user.
After running a Plesk update via Powershell: plesk installer --select-release-latest --upgrade-installed-components
We get these errors on a clean Windows Server 2019 server:
Code:
...
ERROR: Upgrade step Plesk\Upgrade\Action_UpgradeExtensions failed with error:
The execution of post-install.php has failed with the following message:
The execution of post-install.php has failed with the following message:
ERROR: PleskUtilException: crontabmng failed: Line (1): System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at psa.scheduler.device.Parser.GetNumber(Int64 low, String[] names)
at psa.scheduler.device.Parser.GetRange(Int64 low, Int64 high, String[] names)
at psa.scheduler.device.Parser.Parse_6_5_FileLine()
at psa.scheduler.device.PSAScheduler.Load_6_5_File(StreamReader sr)
...
(Error code 1) (Agent.php:196) (DeferredCommand.php:32)
Launching component and product checkers...
Downloading file pool/release/PLESK-WIN_18.0.32_4963/reportupdate.exe: 0%
Downloading file pool/release/PLESK-WIN_18.0.32_4963/reportupdate.exe: 100% was finished.
The changes were applied successfully.
PS C:\Users\Administrator>
We got similar errors on another server from the "Backup task notification"
XML:
<?xml version="1.0"?>
<execution-result local-dump-created="true" export-dump-created="false" status="warnings">
<object type="Server" name="server.hostname.tld">
<message severity="warning">
<description>Unable to back up scheduled tasks. Error: crontabmng failed: Line (1): System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at psa.scheduler.device.Parser.GetNumber(Int64 low, String[] names)
at psa.scheduler.device.Parser.GetRange(Int64 low, Int64 high, String[] names)
at psa.scheduler.device.Parser.Parse_6_5_FileLine()
at psa.scheduler.device.PSAScheduler.Load_6_5_File(StreamReader sr)
(Error code 1)</description>
</message>
</object>
</execution-result>
The same error appears via Plesk > Scheduled Tasks when editing (or simply click Apply) a task from: "server (user: Plesk Panel)"
This counts for all tasks of this user.