How to create a cronjob in Yocto recipe?


JH
 

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?

Thank you.

Kind regards,

- jupiter

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.