git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cvsimport in cron
@ 2008-05-26 18:00 barrymac
  2008-05-26 23:13 ` Martin Langhoff
  0 siblings, 1 reply; 8+ messages in thread
From: barrymac @ 2008-05-26 18:00 UTC (permalink / raw)
  To: git


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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-05-27 15:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-26 18:00 cvsimport in cron barrymac
2008-05-26 23:13 ` 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

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