10% in this case means “Executing Cron Task”. Since the user-provided script is entirely opaque to us, we have no idea when it will complete. Maybe it will sleep for 100 years, we will still show it as 10%. If you want better reporting you’ll need to write your own status for your scripts to some file and check that.
Ok, I am getting the point that the 10% information is of no value when running a cron job. So, why is TrueNAS not simply showing the runtime of the script so far or simply showing no percentage value?
For me, a “wrong” percentage is worse than no value at all.