Using Jobs in Neos
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!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 29
- Joined: 21 Aug 2017, 09:42
Using Jobs in Neos
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.
./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
Re: Using Jobs in Neos
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, give us a star
If you like Aimeos, give us a star
-
- Posts: 29
- Joined: 21 Aug 2017, 09:42
Re: Using Jobs in Neos
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!
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