# Cronjob einrichten... ich verstehe es einfach nicht

**URL:** <https://forum.shopware.com/t/cronjob-einrichten-ich-verstehe-es-einfach-nicht/105768>\
**Category:** Shopware 6 (German)\
**Created:** [6. November 2024 um 13:28 UTC](https://forum.shopware.com/t/cronjob-einrichten-ich-verstehe-es-einfach-nicht/105768 "2024-11-06T13:28:25Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![sonic](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sonic/32/25728_2.png) [@sonic](https://forum.shopware.com/u/sonic)\
**Post date:** [6. November 2024 um 18:22 UTC](https://forum.shopware.com/t/cronjob-einrichten-ich-verstehe-es-einfach-nicht/105768/8 "2024-11-06T18:22:07Z")

</div>

> [@Shopware 6 Cronjob mit All-Inkl?](https://forum.shopware.com/t/shopware-6-cronjob-mit-all-inkl/100063/2):
>
> Du legst Dir zwei php-Dateien in public an. Die eine ruft per CLI die messageque auf, die andere den scheduledtasks. Den Tip gab glaub ich shyim hier. Meine run-scheduledtasks.php: \<?php exec("/usr/bin/php81 /www/htdocs/xxxx/xxx/SW6EA/bin/console scheduled-task:run --time-limit=60 --memory-limit=256M 2\>&1", $out, $result); echo "Returncode: " .$result ."\<br\>"; echo "Ausgabe des Scripts: " ."\<br\>"; echo "\<pre\>"; print\_r($out); ?\> und run-messageque.php \<?php exec("/usr/bin/php81 /www/htdocs…

---

_[View the full topic](https://forum.shopware.com/t/cronjob-einrichten-ich-verstehe-es-einfach-nicht/105768)._
