Using Jobs in Neos

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
kimholberg
Posts: 29
Joined: 21 Aug 2017, 09:42

Using Jobs in Neos

Post by kimholberg » 28 Oct 2017, 16:05

I am trying to get Jobs working in Neos by using this manuel in command line instruction:

./flow aimeos:jobs "order/cleanup/unfinished"

but get this message:

bitnami@ip-172-31-73-205:/opt/bitnami/apps/neos/htdocs$ ./flow aimeos:jobs "order/cleanup/unfinished"
The URI must be a valid string.

Type: InvalidArgumentException
Code: 1176550571
File: Packages/Framework/Neos.Flow/Classes/Http/Uri.php
Line: 107
bitnami@ip-172-31-73-205:/opt/bitnami/apps/neos/htdocs$

So what do i do wrong or miss. Aimeos manual is not very claer on this.
Neos 3.2.0 - Bitnami AWS C2 - Aimeos 2017-10.1

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Using Jobs in Neos

Post by aimeos » 29 Oct 2017, 13:00

Flow/Neos requires the baseUri configured when you execute Flow commands that may create URLs. Can you add this to your "Configuration/Settings.yaml" file:

Code: Select all

Neos:
  Flow:
    http:
      baseUri: 'https://yourdomain.tld'
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

kimholberg
Posts: 29
Joined: 21 Aug 2017, 09:42

Re: Using Jobs in Neos

Post by kimholberg » 29 Oct 2017, 21:06

Thanks that solved the case and i could clean up unfinished orders.

One important point though:

you need the / at the end of the URI path, otherwise it won't work!
Neos 3.2.0 - Bitnami AWS C2 - Aimeos 2017-10.1

Post Reply