pim-docs
pim-docs copied to clipboard
purge jobs executions not working
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"]