yomyyo Posted December 27, 2019 Share Posted December 27, 2019 Hello, I'm trying to do testing with the PreAutomationTask/PostAutomationTask hook. What can I do to run the hook to see if what my function does is correct. I would also like to find out what values $vars['task'] holds so I can run my code when a specific task runs. Is there a way I can view what that variable holds. I tried doing die(print_r($vars['task'])) but it looks like the page doesn't die and it's something else that stops. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 28, 2019 Share Posted December 28, 2019 the tasks are listed on the page below... https://docs.whmcs.com/Crons#Tasks 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.