GregSmid
New Pleskian
Hi there,
I can't seem to get the Event Handlers to trigger when creating a new Subscription with a new Domain. My understanding is that the "Domain created" event should fire, but I've assigned a script to that event and I don't get the expected output when I create a new Subscription. For troubleshooting purposes, I've kept the script very simple for now, it just writes the date, time and domain name to file.
C:\Scripts\DateTime.bat
The event handler has been created as follows:
Event: Domain Created
Priority: Normal (50)
User: Plesk Administrator
Command: C:\Scripts\DateTime.bat <new_domain_name>
Am I using the wrong Event Handler?
I can't seem to get the Event Handlers to trigger when creating a new Subscription with a new Domain. My understanding is that the "Domain created" event should fire, but I've assigned a script to that event and I don't get the expected output when I create a new Subscription. For troubleshooting purposes, I've kept the script very simple for now, it just writes the date, time and domain name to file.
C:\Scripts\DateTime.bat
Code:
echo %1 %date% %time% >> C:\Scripts\DatetimeLog.txt
The event handler has been created as follows:
Event: Domain Created
Priority: Normal (50)
User: Plesk Administrator
Command: C:\Scripts\DateTime.bat <new_domain_name>
Am I using the wrong Event Handler?