Missing crontab in Yocto

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Missing crontab in Yocto

Jump to solution
4,280 Views
toanjunifer
Senior Contributor I

Hi,

I'm using iMX6S with Yocto without crontab function. How can I add/install crontab to my OS. Or Yocto have a tool like that. 

Thank you so much,

Toan

Labels (1)
1 Solution
4,174 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Toan,

I’m not very familiar with crontab but Open Embedded does support a Cron daemon for executing programs at set times.

You can add it by adding the cronie package. To do this you may add the following line on the conf/local.conf file inside your build directory:

IMAGE_INSTALL_append += " cronie "

You can find more information on the recipe description:

https://github.com/openembedded/openembedded-core/blob/zeus/meta/recipes-extended/cronie/cronie_1.5....

I hope this helps!
Regards,

View solution in original post

3 Replies
4,175 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Toan,

I’m not very familiar with crontab but Open Embedded does support a Cron daemon for executing programs at set times.

You can add it by adding the cronie package. To do this you may add the following line on the conf/local.conf file inside your build directory:

IMAGE_INSTALL_append += " cronie "

You can find more information on the recipe description:

https://github.com/openembedded/openembedded-core/blob/zeus/meta/recipes-extended/cronie/cronie_1.5....

I hope this helps!
Regards,

4,174 Views
toanjunifer
Senior Contributor I

Thank you gusarambula‌,

I solved my problem by myself. I cross-compiled cronie. Anyway, your way is also a right way. 

0 Kudos
4,174 Views
toanjunifer
Senior Contributor I

Hi gusarambula‌,

Thank you for your reply. Actually, I don't build this image OS which I'm using. So, do you know another way to install it ? Something like cross-compile or something else...

Best regards,

Toan

0 Kudos