# Einzelner Cron Job via Console Starten, Fehler "too many arguments"

**URL:** <https://forum.shopware.com/t/einzelner-cron-job-via-console-starten-fehler-too-many-arguments/37428>\
**Category:** Administration\
**Created:** [13. Juni 2016 um 20:04 UTC](https://forum.shopware.com/t/einzelner-cron-job-via-console-starten-fehler-too-many-arguments/37428 "2016-06-13T20:04:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![megloff](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@megloff](https://forum.shopware.com/u/megloff)\
**Post date:** [13. Juni 2016 um 20:04 UTC](https://forum.shopware.com/t/einzelner-cron-job-via-console-starten-fehler-too-many-arguments/37428/1 "2016-06-13T20:04:57Z")

</div>

Hallo zusammen ich wollte einen einzelnen Cron-Job wie Console gemäss Anleitung aufrufen. Kriege aber immer den Fehler zu viele Argumente.

[http://community.shopware.com/Cronjobs\_detail\_1103.html#Call\_per\_sell\_.2F\_console](http://community.shopware.com/Cronjobs_detail_1103.html#Call_per_sell_.2F_console)

> Since Shopware 5.1.5 it’s possible to execute single cronjobs via shell:
> 
> Execute a cronjobs via action name:
> 
> php bin/console sw:cron:run ACTION-NAME
> 
> &nbsp;
> 
> Forced execution of the cronjob via name:
> 
> php bin/console sw:cron:run NAME -f
> 
> &nbsp;

Wenn ich aber dann folgenden Befehl eingebe, geht das eben nicht. z.B.&nbsp;

```
 php console sw:cron:run Suche -f

  [RuntimeException]
  Too many arguments.

sw:cron:run [-f|--force]

```

&nbsp;

Hat das irgendwer schon geschafft? Oder ist das ein Bug von Shopware?

&nbsp;

---

<div class="post-metadata">

**Author:** ![waldicom](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/waldicom/32/12881_2.png) [@waldicom](https://forum.shopware.com/u/waldicom)\
**Post date:** [13. Juni 2016 um 20:54 UTC](https://forum.shopware.com/t/einzelner-cron-job-via-console-starten-fehler-too-many-arguments/37428/2 "2016-06-13T20:54:59Z")

</div>

Das wurde scheinbar&nbsp;erst in der Version 5.1.6 eingebaut.&nbsp;
