Created
January 29, 2013 09:40
-
-
Save baijian/4663055 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> crontab -e | |
* * * * * env > ~/env.tmp | |
bash shell | |
>>env > ~/env.tmp2 | |
compare two file: evn.tmp and env.tmp2, you will know why your job can run through shell but can't run through cron. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment