Closed Toflar closed 9 months ago
@Toflar adding dump($GLOBALS['TL_CRON'])
to the LegacyCron
won't really do anything when executing debug:container --tag contao.cronjob
. You could create
// contao/config/config.php
dump($GLOBALS['TL_CRON']);
and then execute cache:warmup
. However, I am not sure we should officially document this - since stuff like that might also show up in prod
. Overall there isn't really a convenient way to display all registered legacy cronjobs. If we want one, we would need to add one in Contao 4.13.
You can use xdebug, then you see the crons.
I have added a note in 1ee29b3 - @Toflar wdyt?
Yeah I'm happy with that too.
Thank you @Toflar :)
The list and periodicity changes between Contao versions so I think for the developers documentation, it's best to give them the tools to find the actual list themselves.