How to set SCHED_IDLE threading task in Linux ls1021a

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

How to set SCHED_IDLE threading task in Linux ls1021a

2,361件の閲覧回数
jiye
Contributor V

Hi,

I want to set a daily task(fstrim) with lowest priority, I am deciding to use SCHED_IDLE thread to trigger this task.

As I am using a tiny image in my distro and i dont have cron in the linux user space.

How am I able to implement this and where (should it be in the linux kernel?)

How can i trigger it on a daily basis.

ラベル(2)
タグ(2)
3 返答(返信)

2,279件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

2,279件の閲覧回数
jiye
Contributor V

i dont have cron in the linux user space.

 

How can i trigger it on a daily basis.

0 件の賞賛
返信

2,279件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

You could download cron source code, cross compile it and copy to the target board.

0 件の賞賛
返信