Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted June 18, 20186 yr 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.
June 18, 20186 yr 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.
June 18, 20186 yr 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.