Feed Item
Added a class  to  , Linux Servers Set Up & Management

Now we will be going to set up cron on the server.

Run the following command from the terminal, where user is the sudo user you created earlier for magento

su - user
Change directories to public_html
 
cd /var/www/public_html
 
php bin/magento cron:install [--force]

To view the crontab, enter the following command as the file system owner:

crontab -l

Congratulations you have setup Cron jobs for Magento.

IMREAL.LIFE

Close