How to start another manual deferred process from within the current deferred process.

Mr. Goodie2Shoes

Well-known member
I am rebuilding the permalinks via deferred process and once that is done, I need to rebuild the blocks. I added something like:
    'Atomic', array('simple' => 'GFNPermalink_Deferred_BlockRebuild'), 'permalinkBlock', true
which gets called once the permalink rebuild finishes it's job but it's not getting called for some reason and after some time the notice for continuing the manual deferred process on the admin home.

Any help is highly appreciated :)


XenForo developer
Staff member
You can't really do what you're doing directly. I would also note that using the Atomic helper isn't really useful when you're only running one process. The purpose is to run 2 or more processes atomically (ensure the first completes before the second starts). So it sounds to me like you want to trigger both processes together at the start using Atomic. (Or you need to write an specific version of Atomic to trigger the second process internally.)

Mr. Goodie2Shoes

Well-known member
I see... so I guess I should just add the class in the original call for the permalink rebuilder to keep matters simple. :D