XF 2.2 Cron job, collect infos, show them at final screen?

Robert9

Well-known member
PHPSTORM/XDEBUG is wonderful; but also very nice would be to collect some things and throw them out at the final page after:

Cron was done ...
here some infos about :
...


how can i do that, please?
 
If you're talking about debugging Cron tasks - my CLI JobRunner (XF 2.1 version | XF 2.2 version) can help there.

I include information about how to debug Cron tasks on those resource pages.

Another approach is using my Monolog addon to log to a file (or to any other source supported by Monolog).
 
Nice idea, to save data to a txt. Thank you.
But it would be nice to have something like an "error-global" to show this whereever you want.

At the moment i think about to use just normal php for the cron-jobs, while i see no benefit of using an addon here.
Maybe this is the better way or first do it with php, then do it again as an addon.
 
Top Bottom