
ok been keeping an eye on the script whole day an not 1 ban has been added or removed from banfile
then i ran it manual and it banned 1
so im afraid that it didnt do it
It has to be the environments that are a problem, i know that cron can have difficulties with path and shell, which is why i choosed to use /usr/sbin/ as directory as thats for sure in path
i can see our /var/spool/cron/crontabs/root has shell = /bin/sh and that and that the script starts with bin/bash
but what to do? anyone have a suggestion/solution?
greetings Patriot