How to set SCHED_IDLE threading task in Linux ls1021a

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

How to set SCHED_IDLE threading task in Linux ls1021a

794 Views
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.

Labels (2)
Tags (2)
3 Replies

712 Views
jiye
Contributor V

i dont have cron in the linux user space.

 

How can i trigger it on a daily basis.

0 Kudos

712 Views
yipingwang
NXP TechSupport
NXP TechSupport

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

0 Kudos