Jump to content

WHMCS Cron unloading provisioning module after first error


rrolfe

Recommended Posts

I build a provisioning module that handles all of the management for our dedicated server customers. The module works perfectly when being used from the admin interface but doesn't when it's being run from the cron.

 

When cron run the module on a service to perform an action (lets say.. TerminateAccount) if that action fails to result in "success" then the cron.php seems to unload the module for all other actions that would rely upon it.. such as Suspensions. When it gets to the suspensions it will result in "ERROR: Manual Suspension Required - No Module" when the module was clearly there to run the TerminateAccount process.

 

Does anyone know what needs to be done in the module to ensure that the module gets used for all stages of the cron without being unloaded when a action doesn't result in "success"?

 

It doesn't make sense to me that if one client can't be terminated or suspended.. that all of the other clients can't be suspended or terminated either.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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