checkout - Perforce - Automatic Check Out -
I want to know whether the effect has a built-in functionality which allows us to check the code automatically. I have several servers and I have an option where, when I modify a script in one server and see it incomplete, it automatically checks the script on other servers.
Any help is very much appreciated.
Thank you! There are three possible approaches, membership and voting
Membership
In this approach, when you have a change, and respond accordingly. However, only one notification can be obtained from Perforce, it is an email sent to the email address of a user account. You can configure the server to respond to the email by running a p4 sync
command for the Microsoft Outlook rules and alerts (for example) it can be configured to do so easily This answer and this document shows you how to configure these email alerts.
Voting
In this approach, you have a small program (batch script, executable, whatever ...) that runs continuously on your server It just sleeps most of the time, but wakes up and calls you every few minutes in the area of the Depot, p4 sync
. This approach is simple, and there are no other third party applications in it, if you are using Windows, it would be ideal to run as a service, because it will be able to start automatically on the server, as well as 'starting' And will 'close' it essentially.
I can say that voting is probably your best bet.
Edit
Triggers
By Matt's comment, consider this the third option The documents are from Triggers, which are worth.
Comments
Post a Comment