I' m a newbee here. My problem is::
if [[ "$stringA" == *$stringB* ]]
is running on CLI, but not on cronjob.
the failure code is:
/home/pi/stromcounter_jahresmonatsdatei.sh: 67:
/home/pi/stromcounter_jahresmonatsdatei.sh: [[: not found
cron doesn't find [[ in line 67
I can't explan myself. Perhaps, somebody can answer in german.