Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
LZDigital Posted June 18, 2018 Posted June 18, 2018 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.
Stuart Silvester Posted June 18, 2018 Posted June 18, 2018 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.
LZDigital Posted June 18, 2018 Author Posted June 18, 2018 Yeah I just increased the time for the task. Looking for a better implementation as I type this.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.