Error
/usr/bin/php -c /etc/php5/apache2/php.ini /var/www/test/bin/magento setup:cron:run >> /var/www/test/var/log/setup.cron.log&
I have removed magento but im still recieving mails:
/bin/sh: 1: cannot create /var/www/test/var/log/setup.cron.log: Directory nonexistent
#you cant su to www-data because the shell is not set so you have to specify it
su www-data –shell /bin/bash
#in crontab -e you find the three lines from magento which you can delete
crontab -e