[TASK] Override processed directories in scheduler task

Change-Id: I14e6517877d4c5203429c9c3eaa6819ea8e8d733
Reviewed-on: https://review.typo3.org/25297
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers