I'm running a Alfresco EE 188.8.131.52 (old).
I often run some js script on admin console, and sometimes I do write shell script for executing those js script (using curl) and I launch it from my VM. I wanted to schedule one script for some reason and so I decided to execute the shell script from cron. When I execute the script from shell, it is executed, I get the response and see the result on alfresco (let's say in the script I juste move some file from a directory to another). But when the script is executed from cron, I get no response from alfresco side (the cron is triggered, shell is executed but curl does not answer the output and don't do change on alfresco, so the js script is not applied).
The shell script command for executing the script is as such :