git/list[1] front-page[2] threads[3] people[4] search[5] about
 

cvsimport in cron

From
barrymac <barrymac@gmail.com>
Date
May 26, 2008, 18:00 UTC
Message-ID
<17476529.post@talk.nabble.com>
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.
Next: Martin Langhoff
Message 1 of 8 in “cvsimport in cron”
  1. barrymacMay 26, 2008
  2. Martin LanghoffMay 26, 2008
  3. Barra Mac MathúnaMay 27, 2008
  4. Michael J GruberMay 27, 2008
  5. Martin LanghoffMay 27, 2008
  6. John J. FraneyMay 27, 2008
  7. Barra Mac MathúnaMay 27, 2008
  8. Barra Mac MathúnaMay 27, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.