Remus Avram Posted September 27, 2016 Report Share Posted September 27, 2016 Hi all, is there any daemon running on the server site that we can register our custom event plugins? Which is the best practice in Ftrack to run event plugins (python scripts) on the server site? For example, we would like to run this event plugin https://bitbucket.org/snippets/ftrack/LEx77/restrict-task-status-updates-event on the server site and have an automatic check if the plugin is still running. Is it possible? Cheers! Link to comment Share on other sites More sharing options...
Mattias Lagergren Posted September 28, 2016 Report Share Posted September 28, 2016 Hi Remus, There isn't any process or daemon that we provide out-of-the-box to do this. We usually suggest people using e.g. supervisord when doing this centralised. The idea of running supervisord is that it will make sure that the action or event listener gets restarted if there is an exception or something else that kills the python process. I also think there is a community driven project that has been linked on this forum to simplify and centralise actions. Link to comment Share on other sites More sharing options...
Remus Avram Posted September 29, 2016 Author Report Share Posted September 29, 2016 Hi Mattias, thanks for the answer! I will have a look at supervisord then. Link to comment Share on other sites More sharing options...
Milan Kolar Posted October 10, 2016 Report Share Posted October 10, 2016 Hey. This should help you. We've been using it for over a year now. https://github.com/tokejepsen/ftrack-event-server edit: forgot to attach the link Link to comment Share on other sites More sharing options...
Remus Avram Posted October 10, 2016 Author Report Share Posted October 10, 2016 Hi Milan, thanks for sharing this! I will have a look. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.