On 26 Jul 2019, at 1:45, JH <jupiter....@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
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto