I would like to schedule a task that run a bash script in cRIO-9041 (OS: NI Linux Real-Time x64 5.15.113-rt64). This is done by cron schedule in Linux, but my attempts to run the crontab in cRIO result in segmentation fault. It seems that cron is provided by the BusyBox package in cRIO. I am wondering if someone from this community knows how this works? i.e. how to set up a task in BusyBox package?
PS. I managed to schedule a task by simply adding a cron line in the "/etc/cron.d/logrotate" and the script was running as cRIO started. This was srewed up mistakenly when I changed the bash script, but after correcting the bash script and verifying it, the scheduled task is not working anymore, even after replacing an image of the software before script crashed!