private static void validateCronProperty(
            Object value,
            Field field,
            List<String> errorMessages) {
        if (!(value instanceof String str)) {
            throw new IllegalArgumentException(
                    "The value of the field ("
                            + ClassUtil.getReference(field)
                            + ") must be a string for cron validation");
        }
        if (!CronExpression.isValidExpression(str)) {
            String message = "The property \""
                    + field.getName()
                    + "\" has an invalid cron \""
                    + str
                    + "\"";
            errorMessages.add(message);
        }
    }
@implNote We don't use "hibernate-validator" because it has a terrible performance
turms-server-common/src/main/java/im/turms/server/common/infra/property/TurmsPropertiesValidator.java