crontab + rsync problem

Luca Ferrari fluca1978 at infinito.it
Thu Oct 11 12:46:48 UTC 2007


On Thursday 11 October 2007 Andrew Glen-Young's cat, walking on the keyboard, 
wrote:
> Bash will not use your '.bash_profile' for non-interactive shells by
> default. There are easy ways around this, but I would suggest that you
> rather embed the commands into your script or use a helper like
> 'keychain' and then source it's file from your script.
>
> Read the 'INVOCATION' section of bash(1) for more details.


Thanks Andrew,
placing a BASH_ENV line in the crontab solved the problem of the 
authentication.

Luca





More information about the ubuntu-users mailing list