We’re rewarding the question askers & reputations are being recalculated! Read more.

New answers tagged

0

1. Open terminal 2. write a command crontab -e 3. write below command * * * * * /usr/bin/php /var/www/html/magento2/bin/magento cron:run 2>&1 | grep -v "Ran jobs by schedule" >> /var/www/html/magento2/var/log/magento.cron.log * * * * * /usr/bin/php /var/www/html/magento2/update/cron.php >> /var/www/html/magento2/var/log/update.cron.log *...


0

Maybe this is your idea. Check cronjob installed in your environment crontab -i You can install cronjob in ubuntu with command sudo apt install cron Install magento cronjob Go to magento workspace and run command line: php bin/magento cron:remove php bin/magento cron:install Check Magento cron is installed in the environment crontab -l Open Mysql ...


0

You need to create a variable in Magento Cloud to configure the RabbitMQ. Login to Magento server and then run the command php -r 'print_r(json_decode(base64_decode($_ENV["MAGENTO_CLOUD_RELATIONSHIPS"]))); This command will give you the details of all the services running in Magento Cloud with its credentials. Copy the username, password, and virtual host ...


0

I think you should check again cronjob installed in the environment? You should use the command: service --status-all **or** ps aux | grep "cron" If your environment is not installed cronjob 1, Install cronjob for ubuntu, Debian: sudo apt-get update sudo apt-get install cron 2, Go to the workspace folder composer install php bin/magento cron:install ...


2

Maybe this is your idea, you should create a configuration: crontab.xml <?xml version="1.0" ?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/crontab.xsd"> <group id="default"> <job name="masteringAddItem" instance="Mastering\SampleModule\Cron\...


Top 50 recent answers are included