git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ramkumar Ramachandra <artagnon@gmail.com>
To: Johannes Schneider <mailings@cedarsoft.com>
Cc: git@vger.kernel.org
Subject: Re: [OT?] Executing Git from bash script invoked by cron
Date: Mon, 28 Jun 2010 23:43:24 +0200	[thread overview]
Message-ID: <20100628214324.GB30558@debian> (raw)
In-Reply-To: <4C290D88.80306@cedarsoft.com>

Hi Johannes,

Johannes Schneider writes:
> I try to mirror my local git repository.
> Therefore I created a bash script. This script, executed form the
> command line, works fine.
> 
> But the same script executed by cron, does not work. Git push does
> simply nothing. No output, no push, nothing.
> But git log and git --version works...

Perhaps you're not executing that `git push` as the same user, and
therefore there's some problem reading the config files to determine
where to push to? I really can't tell much else without some output.

-- Ram

  parent reply	other threads:[~2010-06-28 21:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-28 21:00 [OT?] Executing Git from bash script invoked by cron Johannes Schneider
2010-06-28 21:05 ` Sverre Rabbelier
2010-06-28 21:17 ` Marc Weber
2010-06-28 21:22   ` Sverre Rabbelier
2010-07-03 17:19   ` Johannes Schneider
2010-06-28 21:43 ` Ramkumar Ramachandra [this message]
2010-06-29  6:24 ` Matthieu Moy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100628214324.GB30558@debian \
    --to=artagnon@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=mailings@cedarsoft.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).