DO NOT REPLY [Bug 7425] --files-from= broken when run from crontab
samba-bugs at samba.org
samba-bugs at samba.org
Sun Aug 22 04:47:22 MDT 2010
https://bugzilla.samba.org/show_bug.cgi?id=7425
devzero at web.de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |devzero at web.de
------- Comment #2 from devzero at web.de 2010-08-22 05:47 CST -------
you mean, running this from the root user`s shell works but behaves differently
from the root crontab ?
you should check what differences exist in the environment when running from
cron.
typically, inside cron the environment is different from the shell one and also
more minimalistic, so you may have a different $PATH and perhaps it`s a
completely different rsync you are using (if there is more then one on your
system)
i recommend adding "set >/tmp/printenv_from_xyz.txt;which rsync
>>/tmp/printenv_from_xyz.txt" and produce two files, one from a manual run and
one from cron - and compare these for differences.
if you don`t get a clue, you may upload them here, maybe some other person
get`s a clue....
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the rsync
mailing list