1

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" enter image description here

but it didn´t work when i try to start it on the Raspberry boot. Like this: "@reboot time sleep 10 && ./DotNetConsoleApps/Tinkerforge/helloweatherstation" enter image description here I need your help please

Gerard
  • 11
  • 1

1 Answers1

1

Your comments suggest that you've tried using an @reboot command in your crontab. The syntax you've used might be an issue. You might try again using the following syntax:

@reboot ( /bin/sleep 30; /full/path/to/your/app  > /home/pi/cronjoblog 2>&1)

See this answer if you need an explanation of this statement.

Seamus
  • 21,900
  • 3
  • 33
  • 70