Running CronJobs In Production

Help for integrating the Laravel package
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!
quadri_folo
Posts: 12
Joined: 15 Feb 2021, 22:23

Running CronJobs In Production

Post by quadri_folo » 17 Mar 2021, 00:35

Laravel Version: ^6.20.12"
PHP Version 7.2
Mac OS
Aimeos Verison 2020
Host Hostinger

Is it possible to run cronjobs from a php file instead of running the script ? I

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

Re: Running CronJobs In Production

Post by aimeos » 19 Mar 2021, 06:23

The jobs command is implemented here:
https://github.com/aimeos/aimeos-larave ... ommand.php

You can call the command in Laravel like described here:
https://laracasts.com/discuss/channels/ ... controller

But it's not recommended at all because usually, the scripts will be killed after 30sec regardless of the work is done or not.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply