Skip to content

purge jobs executions not working #1847

@aloksinha3110

Description

@aloksinha3110

I am running the command bin/console akeneo:batch:purge-job-execution --days=30 --env=prod
But I am getting the below errors

08:25:47 CRITICAL [console] Error thrown while running command "akeneo:batch:purge-job-execution --days=30 --env=prod". Message: "Akeneo\Tool\Bundle\BatchBundle\Storage\DeleteJobExecutionLogs::getJobExecutionLogDirectory(): Argument #1 ($jobExecutionId) must be of type string, int given, called in /akeneo/test/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/BatchBundle/Storage/DeleteJobExecutionLogs.php on line 40" ["exception" => TypeError { …},"command" => "akeneo:batch:purge-job-execution --days=30 --env=prod","message" => "Akeneo\Tool\Bundle\BatchBundle\Storage\DeleteJobExecutionLogs::getJobExecutionLogDirectory(): Argument #1 ($jobExecutionId) must be of type string, int given, called in /akeneo/test/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/BatchBundle/Storage/DeleteJobExecutionLogs.php on line 40"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions