On Wed, Nov 6, 2019 at 12:17 PM JH <jupiter....@gmail.com> wrote: > > Hi, > > I built Yocto image to include a systemd service and it's timer, the > timer calls the service repeated every 30 minutes, it runs well, but I > need it also run it first time in the boot, not wait 30 minutes. I > tried to add OnBootSec=2, it does not run in boot, any tips how can I > force it run immediately in boot? > > OnBootSec=2
I wonder if 2s is too less of an elapsed time. Could you test setting it to say 30s > OnActiveSec=30min > > Thank you. > > Kind regards, > > - jh > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto