On Jun 1, 8:45 pm, Alexander Zaycev <mailof...@gmail.com> wrote: > There is a script to create a backup, with the standard line: > > git archive --format=tar --prefix=project/ HEAD | gzip > > my_git.tar.gz > > When run manually it works fine, but cron creates a bad archive (size > 20 byte). > In what may be the problem?
The problem may be anywhere including the current phase of the moon since you specified almost no details about your setup. Using my rusty telepathic skills, I suspect wrong current directory or wrong user at the time of the call. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-us...@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.