cronUI
Description
The basecom cronUI is an extension for Akeneo Community Edition and Enterprise Edition. It adds a new user interface which can be used to create, manage and delete cronjobs. Also, it allows the developers to create cronjobs through PHP-code.
Documentation
Installation
Requirements
This bundle requires Akeneo 2.3 Community Edition or higher. Also it requires PHP 7.1 or higher.
Install the bundle
- Install this package via composer:
composer require basecom/akeneo-cron-ui
-
Follow the installation steps of the Custom entity bundle if not already installed.
-
Add the bundle to the
AppKernel.php
:
protected function registerProjectBundles() { return [ new \Basecom\Bundle\CronUiBundle\BasecomCronUiBundle(), ]; }
- Run the doctrine schema update to create the new cronjobs table
php ./bin/console doctrine:schema:update --dump-sql --env=prod php ./bin/console doctrine:schema:update --force --env=prod
- Add the
cronjobs:run
command to the crontab:
* * * * * cd /path-to-your-project && php ./bin/console cronjobs:run >> /dev/null 2>&1
- Clear all caches and regenerate front-end assets:
php ./bin/console cache:clear --env=prod --no-warmup php ./bin/console cache:warmup --env=prod php ./bin/console pim:installer:assets --symlink --clean --env=prod yarn run webpack