Cron @reboot

hy

I have a script to backup all the important data to a NAS.
However the @reboot seems not working in crontab -e
I even added a sleep 100 so that the network has enough time to be running

When I schedule a normal cron job like */15 * * * * it works

Can someone help me?

Busybox cron doesn’t know this command.
If you want to run something on boot you can use shell file /storage/.config/autostart.sh.
And put the commands in background

(
  # your commands
)&

If not Kodi will take longer time to start.

ok thx

in the meantime I made a solution with a service and systemctl

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.