Matthew James
Basic Pleskian
Hi all,
It seems the event handler does not work at all in Plesk 10.4.4.
To test I made the following script (test.pl):
#!/usr/bin/perl
open TMP, '>/tmp/output.txt';
foreach (keys %ENV) {
print TMP "$_ = " . $ENV{$_} . "\n";
}
close TMP;
And used this script as the event handler command:
Event Priority User Command
Domain alias created highest(100) root /usr/bin/perl /path_to_script/test.pl
And no file /tmp/output.txt was created, if I run the command manually, it works fine.
This was tested on Domain alias created and Domain created.
Anybody have any ideas where I can see a log that might show why it's not working? There is nothing in panel.log. Has anybody else managed to get this working in 10.4.4?
Thanks
Matt
It seems the event handler does not work at all in Plesk 10.4.4.
To test I made the following script (test.pl):
#!/usr/bin/perl
open TMP, '>/tmp/output.txt';
foreach (keys %ENV) {
print TMP "$_ = " . $ENV{$_} . "\n";
}
close TMP;
And used this script as the event handler command:
Event Priority User Command
Domain alias created highest(100) root /usr/bin/perl /path_to_script/test.pl
And no file /tmp/output.txt was created, if I run the command manually, it works fine.
This was tested on Domain alias created and Domain created.
Anybody have any ideas where I can see a log that might show why it's not working? There is nothing in panel.log. Has anybody else managed to get this working in 10.4.4?
Thanks
Matt