# Multiple duplicated contacts not removing from cron job

**URL:** <https://forum.mautic.org/t/multiple-duplicated-contacts-not-removing-from-cron-job/33463>\
**Category:** Product Support\
**Created:** [September 12, 2024, 7:15pm UTC](https://forum.mautic.org/t/multiple-duplicated-contacts-not-removing-from-cron-job/33463 "2024-09-12T19:15:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hassigroup](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/hassigroup/32/12713_2.png) [@hassigroup](https://forum.mautic.org/u/hassigroup)\
**Post date:** [September 12, 2024, 7:15pm UTC](https://forum.mautic.org/t/multiple-duplicated-contacts-not-removing-from-cron-job/33463/1 "2024-09-12T19:15:15Z")

</div>

**Your software**  
My Mautic version is: 5.1.0  
My PHP version is: 8.1  
My Database type and version is: Mysql

**Your problem**  
My problem is:

When running the duplicate command I get the following error:

[hassigro@p102 ~]$ /usr/local/bin/php /home/hassigro/marketing.hassigroup.com/bin/console mautic:contacts:deduplicate  
Deduplicating contacts based on unique identifiers: Email  
5433 contacts found to deduplicate

Finding duplicates and creating processes for deduplication. 55 processes will be queued.

Starting to execute the 55 processes for deduplication. 1 processes will be executed in parallel.  
55/55 [============================] 100% \< 1 sec/\< 1 sec 54.5 MiB

All processes have finished. The output of each process is below.  
‘/home/hassigro/marketing.hassigroup.com/bin/console’ ‘mautic:contacts:deduplicate:ids’ ‘–contact-ids’ ‘6852,55461,48919,57882,47706,39737,64934,61522,47143,47605,54125,59515,65092,62759,54249,50877,64787,7416,51414,63598,63799,63486,63642,63320,63781,63917,3537,63404,53816,62741,54747,63311,64030,64044,63303,63805,46041,64463,63811,64451,63756,58234,63902,64056,64402,63858,63827,63289,63630,63820,62478,63319,63914,64041,63456,63925,39248,64682,63850,63831,51417,51418,63692,60920,64577,64096,59335,63807,63848,64454,64449,63655,63015,63797,63870,63582,4042,63826,63829,64593,61234,12223,64099,63855,12196,12195,64606,58445,63837,63836,63804,64639,64478,7888,63830,63791,64121,63859,63832,63833’ ‘-e’ ‘prod’  
sh: /home/hassigro/marketing.hassigroup.com/bin/console: Permission denied  
sh: line 0: exec: /home/hassigro/marketing.hassigroup.com/bin/console: cannot execute: Permission denied

These errors are showing in the log:

Steps I have tried to fix the problem:
