I am trying to execute my program when my Raspberry Pi boots up with time sleep 10.
it workt only with time sleep:
"time sleep 10 && ./DotNetConsoleApps/Tinkerforge/helloweatherstation"
but it didn´t work when i try to start it on the Raspberry boot.
Like this:
"@reboot time sleep 10 && ./DotNetConsoleApps/Tinkerforge/helloweatherstation"
I need your help please
@reboot
isn't a linux command – Jaromanda X Nov 15 '19 at 07:56/etc/rc.local
has limitations due to Compatibility with SysV. We have seen many problems here on this site using it. Following the recommendation of the developers from systemd you should avoid using it. – Ingo Nov 15 '19 at 17:14@reboot
on the Linux command line; that simply isn’t a Linux command. It might work in some other context, but here it means nothing. Also, in the other screenshot,time
at the start of the command doesn’t really do anything except report how long the command took to run - but you already knew that was going to be very close to 10 seconds – Jim Danner Nov 17 '19 at 01:38