Automatting cvs retrieval using Windows NT/2000 "at" command

2002-02-14 Thread Michael Stopper

A search of existing threads didn't reveal anything useful on this so here
we go:

I've got my build process completely automated via Ant (including checkout,
tagging, etc.) and can kick that off at will from a command prompt on
NT/2000. However, if I put the call to start ant in a batch file and have
the "at" scheduler kick it off, I get the following back from cvs on the
client:

cvs [checkout aborted]: could not find out home directory

Which home directory is it looking for and why doesn't it need it when the
batch file is running normally under "DOS"??

Any help would be appreciated.  Thanks.

--
-
Michael Stopper
Senior Principal / SPS Technical Architect
American Management Systems, Inc.
4114 Legato Road
Fairfax, Virginia  22033
703.227.6646 Office
703.227.4696 FAX
mailto:[EMAIL PROTECTED]


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Automatting cvs retrieval using Windows NT/2000 "at" command

2002-02-14 Thread Larry Jones

Michael Stopper writes:
> 
> cvs [checkout aborted]: could not find out home directory
> 
> Which home directory is it looking for and why doesn't it need it when the
> batch file is running normally under "DOS"??

I believe you need to set the HOMEDRIVE and HOMEPATH environment
variables.  They're probably set for you automatically when you log in,
but not set by the "at" scheduler for batch jobs.

-Larry Jones

You're going to be pretty lonely in the nursing home. -- Calvin

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: Automatting cvs retrieval using Windows NT/2000 "at" command

2002-02-14 Thread EXT-Corcoran, David

This is based on my dealing with AT under NT 4, so caveat emptor...

Check the permission of the user ID under which the AT scheduler is running;
if it is "system" (presuming you repo is across the wire) then change it to
something else as the "system" user doesn't have network access. Note future
password changes to this user id must be changed manually. 

To test your environment under AT you can use unix style redirection:
at 10:00 c:\path\batfile ">c:\path\file.log" "2>&1"

where c:\path\batfile.bat contains:
set

Note you cannot put dos primatives (built-in commands) directly in the AT
command.

> -Original Message-
> From: Michael Stopper [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 14, 2002 7:57 AM
> To: [EMAIL PROTECTED]
> Subject: Automatting cvs retrieval using Windows NT/2000 "at" command
> 
> 
> A search of existing threads didn't reveal anything useful on 
> this so here
> we go:
> 
> I've got my build process completely automated via Ant 
> (including checkout,
> tagging, etc.) and can kick that off at will from a command prompt on
> NT/2000. However, if I put the call to start ant in a batch 
> file and have
> the "at" scheduler kick it off, I get the following back from 
> cvs on the
> client:
> 
> cvs [checkout aborted]: could not find out home directory
> 
> Which home directory is it looking for and why doesn't it 
> need it when the
> batch file is running normally under "DOS"??
> 
> Any help would be appreciated.  Thanks.
> 
> --
> -
> Michael Stopper
> Senior Principal / SPS Technical Architect
> American Management Systems, Inc.
> 4114 Legato Road
> Fairfax, Virginia  22033
> 703.227.6646 Office
> 703.227.4696 FAX
> mailto:[EMAIL PROTECTED]
> 
> 
> ___
> Info-cvs mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/info-cvs
> 

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Automatting cvs retrieval using Windows NT/2000 "at" command

2002-02-14 Thread Gianni Mariani


It's looking for .cvspass !

G

Michael Stopper wrote:

>A search of existing threads didn't reveal anything useful on this so here
>we go:
>
>I've got my build process completely automated via Ant (including checkout,
>tagging, etc.) and can kick that off at will from a command prompt on
>NT/2000. However, if I put the call to start ant in a batch file and have
>the "at" scheduler kick it off, I get the following back from cvs on the
>client:
>
>cvs [checkout aborted]: could not find out home directory
>
>Which home directory is it looking for and why doesn't it need it when the
>batch file is running normally under "DOS"??
>
>Any help would be appreciated.  Thanks.
>
>--
>-
>Michael Stopper
>Senior Principal / SPS Technical Architect
>American Management Systems, Inc.
>4114 Legato Road
>Fairfax, Virginia  22033
>703.227.6646 Office
>703.227.4696 FAX
>mailto:[EMAIL PROTECTED]
>
>
>___
>Info-cvs mailing list
>[EMAIL PROTECTED]
>http://mail.gnu.org/mailman/listinfo/info-cvs
>




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs