The shell script runs fine under command window. When it is added into the crontab, it won't run at all.
The problem is that some environment variables won't be recognized in crontab file. To solve this, you can add the full path or add the environment variables into the script directly.
No comments:
Post a Comment