All of lore.kernel.org
 help / color / mirror / Atom feed
From: barrymac <barrymac@gmail.com>
To: git@vger.kernel.org
Subject: cvsimport in cron
Date: Mon, 26 May 2008 11:00:39 -0700 (PDT)	[thread overview]
Message-ID: <17476529.post@talk.nabble.com> (raw)


Hi All,

Apologies if this is a standard mistake, I'm not very experienced with cron. 
I'm trying to run cvsimport commands from within a cron job but it always
returns:
cvs: Connection refused
Use of uninitialized value in scalar chomp at /usr/bin/git-cvsimport line
349.
Use of uninitialized value in substitution (s///) at /usr/bin/git-cvsimport
line 350.
Expected Valid-requests from server, but got: <unknown>

I use ssh keys and have tested that they work  by using scp within the
script. The script goes as follows:

keychain /var/spool/gitosis/.ssh/id_rsa
. /var/spool/gitosis/.keychain/`uname -n`-sh

git-cvsimport -d :ext:barrym@cvs:/cvsroot -vio master CVSMODULE 

It would also be nice if someone could tell me also how to log the output. 

Thanks in advance,
Barry.

-- 
View this message in context: http://www.nabble.com/cvsimport-in-cron-tp17476529p17476529.html
Sent from the git mailing list archive at Nabble.com.

             reply	other threads:[~2008-05-26 18:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-26 18:00 barrymac [this message]
2008-05-26 23:13 ` cvsimport in cron Martin Langhoff
2008-05-27 10:45   ` Barra Mac Mathúna
2008-05-27 11:08     ` Michael J Gruber
2008-05-27 11:31       ` Martin Langhoff
2008-05-27 13:33       ` John J. Franey
2008-05-27 15:31         ` Barra Mac Mathúna
2008-05-27 12:08     ` Barra Mac Mathúna

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=17476529.post@talk.nabble.com \
    --to=barrymac@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.