[clue] [TECH] rsync command runs from command line but not via cron

jacob jborer at gmail.com
Thu Jun 2 09:35:56 MDT 2011


On Thu, Jun 2, 2011 at 9:16 AM, Brian Gibson <bwg1974 at yahoo.com> wrote:

> It looks like specifying the full path to ssh did it.  Duh.  I'm just
> surprised
> it silently failed since output was being redirected to a file.
>
>
 If you want errors to go to the log file you need to redirect stderr to
stdout. (Shell errors generally go to stderr, file descriptor 2, not stdout,
file descriptor 1.) Add 2>&1 to end of the cron definition.

-jacob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue/attachments/20110602/fbd82f25/attachment-0001.html 


More information about the clue mailing list