Hi, i was looking for an answer for some trouble im having runing a script in the cron, thing is, that when i run it manually it works just fine. But when cron runs it, it just doenst work. I saw a reply on a similar subject, suggesting that the . .profile worked for you, but im kind of confused and its the reason im looking for your advice. how does the instruction goes in the Shell script??
Is it:
#!/bin/bash
. .profile
command/proccess &
Or
#!/bin/bash
. $HOME/.profile
command/proccess &
Help please, and thanks for your time