[yocto] Recurrent service file

Anders Montonen Anders.Montonen at iki.fi
Thu Jul 25 15:59:21 PDT 2019


On 26 Jul 2019, at 1:45, JH <jupiter.hce at gmail.com> wrote:
> 
> Hi,
> 
> I am running Yocto distroI am building a service file like a cron job
> to run every 10 minutes, I searched from Internet, there was tips to
> use Restart=always and RestartSec=10min, but that seems not quite
> right, the document said that RestartSec is for delaying 10min, any
> tips how to fix following format?

You probably want a timer unit that triggers the service unit: <https://www.freedesktop.org/software/systemd/man/systemd.timer.html <https://www.freedesktop.org/software/systemd/man/systemd.timer.html>>

Regards,
Anders 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190726/909b8861/attachment.html>


More information about the yocto mailing list