How to pause an agent every night for VCS-backup
Hello,
I need to pause the Teamcity agent every night for approx. 30 minutes. Otherwise our VSS cannot backup properly due locked files.
Is this possible with TeamCity Enterprise 5.1.3 ?
Thanks,
TeDe
Please sign in to leave a comment.
Hello Tomas,
For now there is no such feature in TeamCity, please watch/vote for it http://youtrack.jetbrains.net/issue/TW-1645.
This feature can be implemented as plugin using current open API.
Another workaround can be setting agent enabled/disabled status through the HTTP GET request of the form:
http://<username>:<password>@<teamcity_host>/httpAuth/ajax.html?changeAgentStatus=<agent_id>&enable=true&reason=automatic_enabling
Kind regards,
Marina