I’ve been receiving the following email every minute, about a Cron Job, and didn’t find any topic related to it.
Cron root@johnflix root echo “- - -”> /sys/class/scsi_host/host1/scan
/bin/sh: 1: root: not found
Is there any way to solve it?
I’ve been receiving the following email every minute, about a Cron Job, and didn’t find any topic related to it.
Cron root@johnflix root echo “- - -”> /sys/class/scsi_host/host1/scan
/bin/sh: 1: root: not found
Is there any way to solve it?
Did you add that cron job using crontab? if that is the case, remove root before echo.
That’s the problem I can’t find it. It’s no in Vesta CP UI or in /etc/crontab
Use this:
grep -ri '/sys/class/scsi_host/' /etc/ /var/spool/cron/
Thank you! It was there. There was a file named root with the Cron jobs in it. I removed the file file and rebooted the system, and problem solved.
You are welcome. Anyways, deleting the file is not the way because you removed all the cron jobs for root user and those jobs could be needed for your system maintenance…