How to set SCHED_IDLE threading task in Linux ls1021a

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to set SCHED_IDLE threading task in Linux ls1021a

829 次查看
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 回复数

747 次查看
yipingwang
NXP TechSupport
NXP TechSupport

747 次查看
jiye
Contributor V

i dont have cron in the linux user space.

 

How can i trigger it on a daily basis.

0 项奖励

747 次查看
yipingwang
NXP TechSupport
NXP TechSupport

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

0 项奖励