Adding Ping URL for Cron Jobs
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 40
- Joined: 02 Dec 2021, 17:18
Adding Ping URL for Cron Jobs
I need to add ping url (third party url) to update status of cron jobs, those which are there by default on aimeos
eg: "order/service/delivery" , 'order/service/payment' etc;
help me to place that ping url on code level for these pre-exist cron jobs
TIA
eg: "order/service/delivery" , 'order/service/payment' etc;
help me to place that ping url on code level for these pre-exist cron jobs
TIA
Re: Adding Ping URL for Cron Jobs
You have to extend from the existing job controller class in your own extension and overwrite the run() method:
https://github.com/aimeos/ai-controller ... #L162-L286
Then, configure the new class name, e.g.:
https://github.com/aimeos/ai-controller ... #L162-L286
Then, configure the new class name, e.g.:
Code: Select all
controller/jobs/order/service/delivery/name = Myproject
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