How to autorun script at startup of Beaglebone quickly ?

103 views
Skip to first unread message

Ichrak Mansour

unread,
Sep 4, 2018, 8:30:53 AM9/4/18
to BeagleBoard
Hello,

I have an application running at startup of Beaglebone but after 15minutes, I want after the board is connected, my application will be running with an url : 192.168.7.2:5000/app quickly like cloud9.

How can I make it please ? 

Mala Dies

unread,
Sep 4, 2018, 10:33:58 PM9/4/18
to BeagleBoard
Hello,

Have you tried to set up a .service file for your application?

Seth

P.S. I am asking b/c the last time I had some .service file on my BBB, the application/file started on boot. Is this what you are asking?

Ichrak Mansour

unread,
Sep 5, 2018, 5:16:33 AM9/5/18
to beagl...@googlegroups.com
Yes 

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/2f419098-7854-43b7-aae0-db7a48a3ef7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
    ICHRAK Mansour
Etudiante en ingénierie Téléinformatique
Université de Sousse - ISITCOM

Mala Dies

unread,
Sep 5, 2018, 10:33:59 PM9/5/18
to BeagleBoard
Hello Again,

If you have a piece of software you want to run on boot, follow along here: https://www.freedesktop.org/software/systemd/man/systemd.service.html.

Along the bottom section of the page, on that site, there should be a instance/example. Enjoy!

Seth

P.S. If you are still having issues after you read up, let me know.

Dieter Wirz

unread,
Sep 7, 2018, 1:12:04 PM9/7/18
to beagl...@googlegroups.com
On Thu, Sep 6, 2018 at 4:34 AM Mala Dies <fun...@gmail.com> wrote:
> If you have a piece of software you want to run on boot, follow along here: https://www.freedesktop.org/software/systemd/man/systemd.service.html.
>
> Along the bottom section of the page, on that site, there should be a instance/example. Enjoy!
>

>>>> I have an application running at startup of Beaglebone but after 15minutes, I want after the board is connected, my application will be running with an url : 192.168.7.2:5000/app quickly like cloud9.

If I understand correctly, you don't want to run an application on
boot but after 15 Min.
Maybe this is easier to accomplish with crontab: Simply ad a line to
/etc/crontab

@reboot some_user sleep 900 ; /path_to/myscript

Where some_user can be root or any other user....
Reply all
Reply to author
Forward
0 new messages