I created a shell script which runs fine from the command line but does not get executed when I added to crontab.
I have checked the environmental PATH and added the path to my script to it I also specified the absolute path in the crontab entry.
I have scheduled different tasks using the crontab before and they run fine according to the specified schedule. I know that neither the crontab entry nor the environmental variable PATH is an issue but I am not quite sure what else should I look for. Any tip would be greatly appreciated. Thanks.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!