I'm using a script which is working in Stand alone and is not working through the cron job .
qexma1@test:bin> head -n 10 test.sh #!/bin/bash declare -r PATH='/sbin:/bin:/usr/sbin:/usr/bin' source $AEM_CONFIG/aem-wrap.conf
Cron Job :
qexma1@test:bin> crontab -l | grep aem-test.sh 01 15 * * * bin/test.sh -b ; touch bin/crontest.txt;
qexma1@test:bin> ll bin/ | grep cron -rw-r--r-- 1 qexma1 abc 0 Nov 11 15:01 crontest.txt
Flag file got created crontest.txt but script didn't get executed. Permissions 0755
/global/appaem/aem/bin/aem-test.sh -b >/tmp/mylog 2>&1and then update question with the output recorded in /tmp/mylog. Where/how are you expecting
$AEM_CONFIGto be getting initialised ?