Re: How to create a cronjob in Yocto recipe?

Nicolas Dechesne <nicolas.dechesne@...>

On Fri, May 3, 2019 at 1:32 PM JH <jupiter.hce@...> wrote:


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
to packagegroup, to create /etc/cron.d, then I just need to install 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

Join { to automatically receive all group messages.