git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Schneider <mailings@cedarsoft.com>
To: git@vger.kernel.org
Subject: [OT?] Executing Git from bash script invoked by cron
Date: Mon, 28 Jun 2010 23:00:56 +0200	[thread overview]
Message-ID: <4C290D88.80306@cedarsoft.com> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

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...

I tried to google the problem, but couldn't not find anything useful.
Any hints are welcome.


Ubuntu 64Bit
git version 1.7.0.4
cron 3.0pl1-106ubuntu5


Thanks,

Johannes
- -- 
Johannes Schneider - blog.cedarsoft.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJMKQ2GAAoJEAytD9R7Qv6dRmIH/3YqxEMRDLeHcLfsH0JYBdOT
NG2e7mMjiYg2akQOsXSN4iN1iMrRfj/gp9udd7QM4p8W06xlv0wftOC87IKZKDtp
DujAYB6hHMtHYkVrWV9KuP+ptuaZDvhgti+8DvfAKGuXbRa0xs4CcRCclLLNrj6x
tqJJZatdVZgvEDBePWVcTJfglJf+2lozxBXvTkat8mjEGCYDuUfvG37yimSETZHT
wJITWGi3BdMG5m6xHOHDYp4IHuGw2sfWYAN3EE7dS6m2P7/l/VRM18PsAWFM3j1Q
Axv57mkJu1ea9tj54W7I7kJCHDC5TZDf9FXSPPOMY1t1qzgtGfB7tfQMDamHIYY=
=LRSS
-----END PGP SIGNATURE-----

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

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-28 21:00 Johannes Schneider [this message]
2010-06-28 21:05 ` [OT?] Executing Git from bash script invoked by cron 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
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=4C290D88.80306@cedarsoft.com \
    --to=mailings@cedarsoft.com \
    --cc=git@vger.kernel.org \
    /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).