[git-users] Re: Cron and git archive

2010-06-02 Thread Alexander Zaycev
> in crontab use absolute paths and 'cd' , and add MAILTO to see errors, > Thank you, the absolute path solved the problem. -- 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

[git-users] Re: Cron and git archive

2010-06-02 Thread Marek Wywiał
On 1 Cze, 18:45, Alexander Zaycev 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

[git-users] Re: Cron and git archive

2010-06-01 Thread Konstantin Khomoutov
On Jun 1, 8:45 pm, Alexander Zaycev 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 proble