Ok I uninstalled antivirus and disabled SAMBA.
Without SAMBA the system reboots much faster and consistend. Otherwise I somtimes get 503 error after rebooting. Further when rebooting via console itās also much faster than via web-interface. When rebooting via web-interface I noticed that SWAP goes from 0% up to 100% and takes forever to reboot. When rebooting via console the system shuts down instantly.
Strange⦠but Iām happy to know that SAMBA is causing this issue.
Now there is only one thing left. I canāt run my backup script via crontab.
The script is placed in: /root/scripts/backup.sh
I log in via user pi and get root rights: sudo -s
I gave it execution rights: chmod +x /root/scripts/backup.sh
I can start it manually and I get an email when the backup is finished.
In crontab -e it looks like: 0 3 * * * /root/scripts/backup.sh > /dev/null 2>&1
But crontab does not start the job.
Iāve made a test job in crontab creating a file and writing ācron is workingā in it. Thatās working.
In the past I had the exact same setup doing my daily backup. Donāt know whats wrong with it.
This is what syslog says:
Apr 16 03:15:01 nextcloudpi CRON[436000]: (root) CMD (/root/scripts/backup.sh > /dev/null 2>&1)