Cronjob + unwanted reboot

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

G_DIETPI_VERSION_CORE=9
G_DIETPI_VERSION_SUB=10
G_DIETPI_VERSION_RC=0
G_GITBRANCH=‘beta’
G_GITOWNER=‘MichaIng’

Additional Information (if applicable)

Raspi 5 // installed on Pimoroni NVMe Base 512 GB
Dietpi updated

Expected behaviour

shutdown -h now and power cut of by Shelly Smart plug S 5 mins later

Actual behaviour

Actually I have no idea from where the command comes for immediatly reboot. Is there anything within nextcloud ?

Tks for a hint :slight_smile:
Henning

@reboot means that that these cron jobs are execute at reboot. It’s not a command to reboot. crontab(5) - Linux manual page

1 Like

Tks, I did not know this :grinning:

Hi,
something is still not ok with the cronjob for shutdown.
The idea is to shutdown the system @01:00 Hrs and 15 mins later power is cut off by a shelly plug S

As you can see the system changes the time and continues to do something until the power is switched off. With that I could life but when the system is started next morning the internet connection is not working. Not internally or externally. Quick solution in the morning is “power off & power on” and bingo everything works as planned.

Any idea ? Or more info’s needed ?

Tks

Is the system started together with your internet router?

The Cablebox/ Router runs 24/7

I forgot to mention that I have also a Raspi 4 which is setup more or less identical ( dietpi up to date , shutdown same time , power off with a shelly Plug ) and but
no problems

once system is up, check the log why network was not established

Hi, strangely enough the Lan scanner can see the Raspi in question, ping works also. But no connection to the Raspi via ssh. In dietpi-config I can check the connection and it responds with no connection. Setting ist for static IP.
Reboot again and it works. :thinking:

best to check ip a to see assinged IP’s. As well you can try to ping your gateway from DietPi device.

This morning the system started normal. But I found that the onboard wifi was still switched on, even so no connection was setup before. Now it’s switched off andd maybe that was the reason. Wait nd see what happens tomo.
If I try to reboot now it usually works.

Good morning, finally I was able to check with “ip a” and ping the router dirct from the said raspi. Since normally no Monitor attached it took a bit of time to find something suitable

after reboot Network is reachable again.

On a side note : can I disable the fake hwclock or at least set her to our local time ?

Tks