On Fri, May 3, 2019 at 1:32 PM JH <jupiter....@gmail.com> wrote:
>
> Hi,
>
> I try to figure out how to build cron job in Yocto image, my current
> image does not have /etc/cron.d, is it correct I need to install the
> cronie package (recipe
> https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-extended/cronie/cronie_1.5.4.bb)
> to packagegroup, to create /etc/cron.d, then I just need to install
> mycronjob.sh to the /etc/cron.d just like the desktop cron job, right?

yes, to both questions.

if you need example from other recipes, have a look at
meta-openembedded and run:
git grep ".*install.*cron"


>
> Thank you.
>
> Kind regards,
>
> - jupiter
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to