Running a custom perl script after subscription creation

Discussion in 'Troubleshooting' started by Theloneus, Jun 3, 2014.

  1. Theloneus

    Theloneus Kilo Poster

    Messages:
    13
    Hello,

    I am attempting to run a perl script from the PBA-S "Run Custom Script" action.

    For instance:

    This works from command line logged in as root, but not when this action is called after a subscription is created in PBA-S. It does shell scripts just fine.
    What am I missing?

    Thanks!
     
  2. Theloneus

    Theloneus Kilo Poster

    Messages:
    13
    I actually figured this out, I'm not sure if it was because I had a typo in the perl script or if its because I changed it to this:

    Just thought I'd update and share.

    Another thing to note is that the script itself will have the same permissions for writing files so it needs to use a location that it has permissions on.
     
    Last edited: Jun 4, 2014

Share This Page