Add a job on ispconfig job queue

Discussion in 'ISPConfig 3 Priority Support' started by tritema, Oct 29, 2020.

  1. tritema

    tritema Member HowtoForge Supporter

    Hi,

    actually I need to add a custom job on the ispconfig job queue (basically run a couple of command after that a new website is created).
    I have tried several way, but 'till now i have not found a consistent way to do that.
    Goal: run a custom command (could be a bash script or so) on the home of the website in a master-slave environment immediately after that is created.

    Any hint?
    ty
     
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    You need to create a server plugin for that, see the existing ones for ideas.
     
    Th0m likes this.
  3. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    as @Jesse Norell suggested, you can do this with a server-plugin. just make sure, that you own plugin will be executed after the website-creation (maybe use something like /z_my_plugin.inc.php).
     
    Jesse Norell likes this.

Share This Page