# Duplicate entry Shopware\_CronJob\_SwagBonusSystemCron

**URL:** <https://forum.shopware.com/t/duplicate-entry-shopware-cronjob-swagbonussystemcron/33200>\
**Category:** Plugins\
**Tags:** offizielle-shopware-\
**Created:** [24. Dezember 2015 um 14:22 UTC](https://forum.shopware.com/t/duplicate-entry-shopware-cronjob-swagbonussystemcron/33200 "2015-12-24T14:22:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [24. Dezember 2015 um 14:22 UTC](https://forum.shopware.com/t/duplicate-entry-shopware-cronjob-swagbonussystemcron/33200/1 "2015-12-24T14:22:00Z")

</div>

Vielleicht ist es ja nur eine Kleinigkeit, aber in einem Shop 4.3.6 und in einem Shop 5.1 tauchen folgende Meldungen auf: core.ERROR: exception ‚PDOException‘ with message ‚SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‚Shopware\_CronJob\_SwagBonusSystemCron‘ for key ‚action‘‘ in /var/www/…/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:989 Stack trace: In beiden Fällen muss ich im Cronjob dieses Plugin auf inaktiv stellen um weitere Fehler zu vermeiden. Leider löst diese Methodik nicht das Problem. Irgendwelche Tipps? Ansonsten Frohes Fest!

---

<div class="post-metadata">

**Author:** ![useg](https://avatars.discourse-cdn.com/v4/letter/u/df705f/32.png) [@useg](https://forum.shopware.com/u/useg)\
**Post date:** [24. Dezember 2015 um 15:10 UTC](https://forum.shopware.com/t/duplicate-entry-shopware-cronjob-swagbonussystemcron/33200/2 "2015-12-24T15:10:57Z")

</div>

> [@R4M](#):
>
> Vielleicht ist es ja nur eine Kleinigkeit, aber in einem Shop 4.3.6 und in einem Shop 5.1 tauchen folgende Meldungen auf: core.ERROR: exception ‚PDOException‘ with message ‚SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‚Shopware\_CronJob\_SwagBonusSystemCron‘ for key ‚action‘‘ in /var/www/…/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:989 Stack trace: In beiden Fällen muss ich im Cronjob dieses Plugin auf inaktiv stellen um weitere Fehler zu vermeiden. Leider löst diese Methodik nicht das Problem. Irgendwelche Tipps? Ansonsten Frohes Fest![/quote] Gibt es den Cron doppelt? [quote]Duplicate entry ‚Shopware\_CronJob\_SwagBonusSystemCron‘

---

<div class="post-metadata">

**Author:** ![Schnurk](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@Schnurk](https://forum.shopware.com/u/Schnurk)\
**Post date:** [24. Dezember 2015 um 15:28 UTC](https://forum.shopware.com/t/duplicate-entry-shopware-cronjob-swagbonussystemcron/33200/3 "2015-12-24T15:28:19Z")

</div>

Hi, ja, den Cronjob wird es doppelt geben. Das Problem haben wir nach jedem Update vom Bonussystem, der Cronjob wird doppelt angelegt. Schau mal in Grundeinstellungen-\>Cronjobs , da muss dann einer raus.

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [24. Dezember 2015 um 15:31 UTC](https://forum.shopware.com/t/duplicate-entry-shopware-cronjob-swagbonussystemcron/33200/4 "2015-12-24T15:31:19Z")

</div>

ich schau noch mal …
