cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong Path in Crontab now Cron Daemon Sending an error e-mail every 1 minute

Wrong Path in Crontab now Cron Daemon Sending an error e-mail every 1 minute

I am new to this I followed the directions in devdocs create the cron job.

I followed the directions but unfortunately got the path wrong. I tried to delete the error from the cron file but it still is in my system somewhere and keeps sending errors to my e-mail server 1 minute for every error in my crontab.

 

this is the code used:

* * * * * /usr/local/bin/php /var/www/store/bin/magento cron:run | grep -v "Ran jobs by schedule" >> /var/www/store/var/log/magento.cron.log
* * * * * /usr/local/bin/php /var/www/store/update/cron.php >> /var/www/store/var/log/update.cron.log
* * * * * /usr/local/bin/php /var/www/store/bin/magento setup:cron:run >> /var/www/store/var/log/setup.cron.log

 

how do I cancel these cron jobs?

 

1 REPLY

Re: Wrong Path in Crontab now Cron Daemon Sending an error e-mail every 1 minute

Found the fix myself. Re entered the data into the crontab file but with the correct paths looked at each path to make sure it is indeed correct and this turned off the Cron Daemon e-mails.