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?

[Unit]
Description=Cron job

[Service]
Type=simple
Restart=always
RestartSec=10min
ExecStart=/usr/sbin/sa_cron_job.sh

[Install]
WantedBy=multi-user.target

Thank you.

Kind regards,

- jupiter
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to