Hi,
I am trying to run a simple shell script which executes asl in return. I am able to execute the shell scrip manually but i am not able to run the script through cron job. Can anybody help me out? Is it something to do with environment variables?My script is
#!/bin/sh
cd /opt/InCh/IP/smarts/bin
sm_adapter -s APM1 /opt/InCh/IP/smarts/local/rules/Cards.asl >> /opt/InCharge65/IP/smarts/bin/xvz.log
exit 0
Cheers,
Amit
I am trying to run a simple shell script which executes asl in return. I am able to execute the shell scrip manually but i am not able to run the script through cron job. Can anybody help me out? Is it something to do with environment variables?My script is
#!/bin/sh
cd /opt/InCh/IP/smarts/bin
sm_adapter -s APM1 /opt/InCh/IP/smarts/local/rules/Cards.asl >> /opt/InCharge65/IP/smarts/bin/xvz.log
exit 0
Cheers,
Amit
Comment