Timeline for Why does Crontab give me an error with my PHP script when running it from the terminal does not?
Current License: CC BY-SA 3.0
        11 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 8, 2011 at 16:13 | answer | added | user732 | timeline score: 0 | |
| S Nov 8, 2011 at 15:22 | history | suggested | John | CC BY-SA 3.0 | 
        
            
             
                
                    Made title a question; improved grammar. 
                
             
        
     | 
| Nov 8, 2011 at 15:03 | review | Suggested edits | |||
| S Nov 8, 2011 at 15:22 | |||||
| Mar 23, 2011 at 9:57 | comment | added | franziskus | If you are on Debian and updated to v. 6, the default shell changed from bash to dash. Perhaps you use bash at the login shell but the cron uses dash. | |
| Mar 23, 2011 at 7:07 | answer | added | Johan | timeline score: 0 | |
| Mar 23, 2011 at 0:04 | answer | added | Gilles 'SO- stop being evil' | timeline score: 6 | |
| Mar 22, 2011 at 16:59 | comment | added | kuhkatz | there are different config files for php running from apache or from the commandine, but i pretty sure crontab uses the latter. which again leaves me kinda baffled about what might be wrong. like Shadur pointed out, the specific error would help. | |
| Mar 22, 2011 at 12:19 | comment | added | André | Ok, I will update it in 4h. I don't have access to the error right now. I was trying to understand if the environments of the SSH Terminal and the Crontab environment are not the same. | |
| Mar 22, 2011 at 12:06 | comment | added | Shadur-don't-feed-the-AI | phuhenehe is right; Please edit your question to clarify what the error is -- places like [pastebin.com] are useful in that regard if the error becomes too large, but until and unless we see the error message we can't really help much. | |
| Mar 22, 2011 at 11:08 | comment | added | phunehehe | So, what is the error? | |
| Mar 22, 2011 at 10:49 | history | asked | André | CC BY-SA 2.5 |