Jump to content

fahed

Member
  • Posts

    1
  • Joined

  • Last visited

Everything posted by fahed

  1. Hi All, I have developed a script to cancel 2CO recurring billing when a service is suspended, cancelled or terminated. For that I am using 'ServerEdit' hook to invoke the script. The script is running as expected when I suspend a service manually from whmcs, ie by changing the service status to suspended, cancelled or terminated from service page. However it looks like the script is not being called when the service is suspended by system cron. Is 'ServerEdit' hook actually called by system cron when suspending a service or am I doing something wrong here?. What I understand is that, when a customer cancels a service, a cancellation request is created and the service is cancelled by the system cron based on option selected like 'immediate cancellation' or 'cancel on end of bill cycle'. Can I rely on system cron for this task or should I need to create separate cron script?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated