[p4] Scripting Login

Thierry Michalowski Thierry.Michalowski at echotech.ch
Thu Jul 6 07:12:11 PDT 2006

As mentioned usually to solve the problems of background demons/tasks,
the easiest is to put the user in a group whose expiration time is 
veeery long.
Set the timeout to
Timeout:        315360000
in the group form, and make your batch user a member of the group.
Then a single manual "p4 login" will enable your batch to run forever on 
that machine.


Vander Werf, Bruce wrote:
> I have several scripts (MSDOS batch files) I use to manage tasks on two
> different Perforce servers. Where I get hung up is on the login. If I
> haven't logged in to a server for 12 hours, a login is required and my
> scripts fails. I haven't been able to figure out how to automate the
> login process, at least not with batch files.  Anyone have any ideas on
> this?
> --Bruce
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user

More information about the perforce-user mailing list