Jump to content

Tasks Bug

Featured Replies

Posted

I'm not sure if this is a bug or not, but I have a task that runs every minute. If the forum is set to run with a cron job, the task runs every minute, as it is supposed to. But when the forum is set to run tasks with Traffic, the task is run every time someone refreshes a page despite having been set to run every minute.

Setting the task to run every 2 minutes makes this behavior disappear. 

The task scheduler (when running via traffic) will pick the task with the lowest value for 'next_run' that is within the next 60 seconds (or in the past). This is working as intended, I would suggest not having a task set to every minute unless you really need it since this could cause other tasks to not run as often as they need to.

  • Author

Yeah I just increased the time for the task. Looking for a better implementation as I type this.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.