Applicable to:
- Plesk for Linux
Symptoms
Scheduled tasks page inaccessible with the following error:
CONFIG_TEXT: Internal error:
DateTime::__construct(): Failed to parse time string (2017-12-20 2.2:0:03) at position 16 (:): Unexpected character
Cause
Plesk bug PPPM-7634 that is planned to be fixed in one of the future product updates.
Resolution
- Log into the server via SSH .
-
Create a backup of Plesk database:
# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysqldump psa -uadmin > psa_current.sql
-
Enter Plesk database:
# plesk db
-
Find the wrong value by selecting time-related values from ScheduledTasks table:
MYSQL_LIN: SELECT id,minute,hour,dayOfMonth,month,dayOfWeek FROM ScheduledTasks;
In this example, hour with with id =14 is a wrong one.
-
Update value with id=14:
MYSQL_LIN: UPDATE ScheduledTasks SET hour=2 WHERE id=14;
Comments
0 comments
Please sign in to leave a comment.