I can not find outputs of cronjobs (product/export, product/export/sitemap)

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
beenzu
Posts: 13
Joined: 12 Feb 2024, 04:08

I can not find outputs of cronjobs (product/export, product/export/sitemap)

Post by beenzu » 22 Feb 2024, 06:42

I have run the following cronjobs:

php artisan aimeos:job "product/export product/export/sitemap" "default_2bd1f".

Nothing shows after that. I also tried them individually. Where do I find the outcome or result?

Gagik
Posts: 38
Joined: 05 Dec 2023, 06:58

Re: I can not find outputs of cronjobs (product/export, product/export/sitemap)

Post by Gagik » 22 Feb 2024, 07:53

Hi

It's a default behavior of this use-case just like for example "php artisan aimeos:clear". You have to add change to your code.

beenzu
Posts: 13
Joined: 12 Feb 2024, 04:08

Re: I can not find outputs of cronjobs (product/export, product/export/sitemap)

Post by beenzu » 22 Feb 2024, 09:01

Thanks for the hint.I am new to Aimeos. Where do I change the code and to what?

Gagik
Posts: 38
Joined: 05 Dec 2023, 06:58

Re: I can not find outputs of cronjobs (product/export, product/export/sitemap)

Post by Gagik » 22 Feb 2024, 13:44

You can call 'info' method like this: '$this->info(...)' for them some results.

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

Re: I can not find outputs of cronjobs (product/export, product/export/sitemap)

Post by aimeos » 23 Feb 2024, 10:56

If you only want to see the files that are generated (when using Laravel):
The product export is stored in ./storage/export/ and sitemap files are stored in the ./public/ directory of your application
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply