1

I have a script called myscript.py (in /home/pi) that I want to run in the terminal every time the Pi boot up.

I want to activate this by using 'crontab'. However after searching and trying stuff out I'm still no closer then when I was at the start.

Jacob Vlijm
  • 82,471
  • 12
  • 195
  • 299
  • crontab or startup, which of the two? furthermore, especially when using crontab, what is the script and what should it do? – Jacob Vlijm May 16 '16 at 12:20
  • Anything that needs to run in an LXTerminal needs a user session: see for example [How can I add new autostart programs in Lubuntu?](http://askubuntu.com/questions/81383/how-can-i-add-new-autostart-programs-in-lubuntu) – steeldriver May 16 '16 at 12:44
  • @JacobVlijm I think crontab can do actions at startup. – don.joey May 16 '16 at 13:39
  • @don.joey I think so too, but I think he means on log in, since he wants to run it in the terminal :) – Jacob Vlijm May 16 '16 at 13:43

0 Answers0