[clue] [TECH] rsync command runs from command line but not via	cron
    Chris Tubutis 
    ctubutis at yahoo.com
       
    Thu Jun  2 10:43:57 MDT 2011
    
    
  
No, not generally - your method would capture STDOUT only, not STDERR.
You'd want to do something like:
$ /path/to/command > /path/to/logfile 2>&1
More here:
http://stackoverflow.com/questions/818255/in-the-bash-shell-what-is-21
So '> /path/to/my.log' is not sufficient for capturing error messages?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue/attachments/20110602/8d65f1a0/attachment-0001.html 
    
    
More information about the clue
mailing list