Missing crontab in Yocto

cancel
Showing results for 
Search instead for 
Did you mean: 

Missing crontab in Yocto

Jump to solution
459 Views
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
353 Views
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
354 Views
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

353 Views
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
353 Views
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