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.