Add a job on ispconfig job queue

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

  1. tr909192

    tr909192 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 Well-Known Member Staff Member Howtoforge Staff

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

    florian030 Well-Known Member HowtoForge Supporter

    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