Missing crontab in Yocto

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Missing crontab in Yocto

ソリューションへジャンプ
4,660件の閲覧回数
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

ラベル(1)
1 解決策
4,554件の閲覧回数
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,

元の投稿で解決策を見る

3 返答(返信)
4,555件の閲覧回数
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,554件の閲覧回数
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 件の賞賛
返信
4,554件の閲覧回数
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 件の賞賛
返信