I have created a shell script(Main) which encapsulates/calls several other shell scripts(child). When the main shell script is ran manually it executes as expected, including the child shell scripts.
But when I execute the main shell script using cronjob, child shell scripts write logs as expected but on checking the results of child shell scripts, they don't return expected results. Please help. Do let me know if you need more information?