John,
cron runs with a limited set of environment variables, but you can set many of them either in the crontab or in the script that runs rsync.
Chris
> Several environment variables are set up automatically by the cron(8)
> daemon. SHELL is set to /bin/sh, PATH is set to /usr/bin:/bin, and
> LOGNAME and HOME are set from the /etc/passwd line of the crontab's
> owner. HOME, PATH and SHELL may be overridden by settings in the
> crontab; LOGNAME may not.
>
> (Another note: the LOGNAME variable is sometimes called USER on BSD sys-
> tems... On these systems, USER will be set also).
>
> In addition to LOGNAME, HOME, PATH, and SHELL, cron(8) will look at
> MAILTO if it has any reason to send mail as a result of running commands
> in ``this'' crontab. If MAILTO is defined (and non-empty), mail is sent
> to the user so named. MAILTO may also be used to direct mail to multiple
> recipients by seperating recipient users with a comma. If MAILTO is
> defined but empty (MAILTO=""), no mail will be sent. Otherwise mail is
> sent to the owner of the crontab. This option is useful if you decide on
> /bin/mail instead of /usr/lib/sendmail as your mailer when you install
> cron -- /bin/mail does not do aliasing, and UUCP usually does not read
> its mail.
> --
> You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
isilon-user-gr...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.