• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Ebent Handler

K

knocx

Guest
hello i had developed a script to stop the client domain on Event DOmain disk quota reached...

But i see that some important variables did not passed into this event here my arguments

"C:\psa-script\limit.vbs" <domain_name> <old_maximum_disk_space> <new_maximum_disk_space> <email>

what limit.vbs does is compares if the domain has reached its disk quota ,stops the domain. And notifies the client via email.

i believe i cant get it work since i can not get the parameters <domain_name> <email> , since they are not defined on Disk Limir Reached event

it very un-intelligent to not to pass domain name , client name and client email as a parameter into such events since only available parameters are old_maximum_disk_space and new_maximum_disk_space for the event 'Limit on disk space reached for domain' ...

how can one handle such an event without a parameter like domain!!!


Any one tried to use Event handler before in such a manner?

any comment suggestion will be great

thanks
knocx
 
Back
Top