[yocto] How to create a cronjob in Yocto recipe?

JH jupiter.hce at gmail.com
Fri May 3 04:32:11 PDT 2019


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


More information about the yocto mailing list