Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • /home/pi/temp_logger/./temp_logger doesn't make sense. bash will ignore the "." - not sure about cron. What source language the executable was written in is irrelevant, but without seeing your code no one can tell what it may be doing. Commented Aug 30, 2016 at 9:49
  • Hello and welcome. I'll not rush to close this as a dupe. However, please mind that there are multiple answered questions with respect to how to execute a program on boot. From your description, and just as Milliways suggests, this sounds more like an issue with your program in the first place and the task is to debug that. Please provide more input. Commented Aug 30, 2016 at 10:25
  • "I then created a bash script called temp_logger.sh in /etc/init.d with the right header from /etc/init.d/skeleton..." -> Don't go down this road. That pattern is applicable to SysV init, for which there is a long history of documentation since it was the default used on Debian up until last year, when they switched to systemd. They were the final hold out among major GNU/Linux distros in this regard so SysV, although it still has legacy support, is now effectively defunct. I.e., don't waste your time learning how to use an obsolete tool. Commented Aug 30, 2016 at 13:58