AtoM - Clear the list of blocked jobs

AtoM - Clear the list of blocked jobs

On an Access To Memories (AtoM) server, I encountered a case where a job was stuck in an endless running state and could not be stopped. This prevented other tasks from running.

The only way to clear this list is via the command line.

The entire procedure is done directly connected to the server via the command line.
Therefore, it is necessary to be able to access it.
If you do not have access, ask your system administrator.

Once connected to the server, navigate to the folder containing the AtoM application, and execute the following command:

php symfony jobs:clear

Once done, the job list will be empty, and the problem will be solved.

Please note that all jobs will be deleted; remember to restart them once the command has been executed.