So I've tried to run a shell script via crontab.
My Crontabs look like this: 00 20 * * * $HOME/Bilder/Hintergründe/.background_skript/background_night.sh
and my background_day.sh looks like this:
`#!/bin/bash wallpaper="$HOME/Bilder/Hintergründe/appa_night.jpg"
gsettings set org.gnome.desktop.background picture-uri-dark file:///"$wallpaper"`
I have already assigned the chmod rights with: chmod +x background_night.sh.
It also works fine if I run it directly with the shell.
And the grep CRON /var/log/syslog looks like this:
May 25 15:07:01 sebs-thinkpad CRON[90433]: (seb) CMD (sh /home/seb/Bilder/Wallpaper/.background_skript/background_night.sh) May 25 15:08:01 sebs-thinkpad CRON[90472]: (CRON) info (No MTA installed, discarding output)
I'm not sure what I've done wrong.