I'm using iMX6S with Yocto. And my OS does have crontab/cronie. And I don't build that OS image, so I can't modify it. So I did a cross-compile version of cronie. I get a file executable which name crontab. I check and get:
ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=3d8a5ebf81249e88a8b93badbabf83c8fc1f2b9d, not stripped
I edit it via: $ crontab -e
*/2 * * * * /home/root/cvtVid2Img
But it's not working. Did I missing something ?
What should I do now ?
Thank you so much,
Solved! Go to Solution.
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:
or cross-compiled cronie.