1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to execute a daily xenforo background cron script that takes hours to run?

Discussion in 'XenForo Development Discussions' started by Marcus, Feb 5, 2015.

  1. Marcus

    Marcus Well-Known Member

    I wonder how it is possible to do that in PHP as there is a runtime limit for each php script. So the script should be broken down in smaller tasks.

    In admin.php?tools/rebuild the larger tasks are always broken down into smaller ones. Is it possible to use this system for background cron tasks?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    That is the deferred system.

    What is the script doing that it takes hours to run?
     

Share This Page