1

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. :(

1

I had forgot to install the cron job. Now, i had cleared the error. Problem solved by below command,

php bin/magento cron:install

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.