I tried many things to execute something PRIOR (before) to any login, but none of them worked in any of the mentioned configurations:

I have Raspbian Jessie: Linux raspberrypi 4.9.14-v7+ #977 SMP Mon Mar 13 18:25:19 GMT 2017 armv7l GNU/Linux

BTW: I tried also raspi-config with default login and password but it didn't work neither. I need the execution of a py program when the raspi boots without any login from myself.

Any idea? Thanks!

Kind regards, Francisco

  • 1
    Most of those should have worked. Could you explain in your question what went wrong with the crontab attempt? What did you do in detail?
    – joan
    Commented Mar 20, 2017 at 22:39
  • Hi thanks! I tried again the cron thing and it worked! I followed actually my own link and checked again: dexterindustries.com/howto/… Thanks for the help! Commented Mar 21, 2017 at 21:19

1 Answer 1


I would think that crontab with @reboot would have worked. Here is a nice step by step on how to Launch a Python script on startup. Please try to see if that works.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.