02-10-2017 01:15 PM
I am looking to have a periodic task run. I have some experience using cron under Linux. Does this exist for Petalinux? I have not been able to find it in the rootfs or other documentation of it so far.
If not I will just wrap it in a background task that will just run and sleep.
02-11-2017 02:07 AM
02-12-2017 09:35 PM
You need to add cronie to your yocto build. I don't use petalinux so can't say how to do it there but usually it's as simple as adding a single line to your image recipe that you are building.
02-14-2017 06:31 AM
I just decided to wrap it in a periodic process with sleep it is good enough for me and I only needed it for one task it didn't seem worth the effort for me to add another app, etc.