Setup own Cronjob within Aimeos
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!
Setup own Cronjob within Aimeos
Hello,
I would like to add a new CronJob that is responsible to connect to the accounting system and generate customer, invoices, recurring invoices for subscriptions and such, is there a documentation on how to add a new one or is there one that i could "adapt" for my needs?
Regards
I would like to add a new CronJob that is responsible to connect to the accounting system and generate customer, invoices, recurring invoices for subscriptions and such, is there a documentation on how to add a new one or is there one that i could "adapt" for my needs?
Regards
Re: Setup own Cronjob within Aimeos
- https://aimeos.org/docs/TYPO3/Install_A ... uler_tasks (Process order delivery services)
- https://aimeos.org/docs/Developers/Library/Service (Implement a new delivery provider)
- https://aimeos.org/docs/Developers/Library/Service (Implement a new delivery provider)
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
Re: Setup own Cronjob within Aimeos
Is there a way to "manualy" run the cronjob so i can bug track it easier, like an url to call upon?
EDIT: Is there also a flag or something gonna be set so the system knows the order was processed or will it loop through all orders period and its upon me to check if the order was processed?
If there's a flag, I would appreciate a hint where to reset it, as I am just testing for now.
EDIT: Is there also a flag or something gonna be set so the system knows the order was processed or will it loop through all orders period and its upon me to check if the order was processed?
If there's a flag, I would appreciate a hint where to reset it, as I am just testing for now.
Re: Setup own Cronjob within Aimeos
The flag is the order delivery status in mshop_order table. Set it to -1 (unfinished) to process orders again.
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
Re: Setup own Cronjob within Aimeos
Thanks for the hint, now is there a chance to call an url to process the cronjob manualy?
Re: Setup own Cronjob within Aimeos
That's not intended by TYPO3 but you can execute the scheduler tasks from the command line.
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
Re: Setup own Cronjob within Aimeos
Okay, it's loaded and executed, however, going by the linked documentation (https://aimeos.org/docs/Developers/Libr ... y_provider), it throws an error...
"Undefined class constant 'PARTS_ALL' "
"Undefined class constant 'PARTS_ALL' "
Re: Setup own Cronjob within Aimeos
Fixed, must be
Code: Select all
\Aimeos\MShop\Order\Item\Base\Base::PARTS_ALL
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