i had error while starting the cron job
-
08-01-2021 - |
Question
I had an error on starting cron job. getting this error, now im unable to do anything in magento :(
Could not open input file: cron:run n:run
my cron job for magento is below,
* * * * * /usr/bin/php /var/www/time/bin/magento cron:run
* * * * * /usr/bin/php /var/www/time/update/cron.php
* * * * * /usr/bin/php /var/www/time/bin/magento setup:cron:run
whats wrong with this.?? kindly anyone help me.. to clear this error. :(
Solution
I had forgot to install the cron job. Now, i had cleared the error. Problem solved by below command,
php bin/magento cron:install
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange