** Changed in: mahara Status: New => In Progress ** Changed in: mahara Importance: Undecided => Wishlist
-- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1840195 Title: Add a function to check if a cron callfunction needs to run before actually executing it Status in Mahara: In Progress Bug description: There are cron functions that run many times a day that don't need to run that often but they need to monitor a condition. One of these is for example the user_login_tries_to_zero that resets the logintries value in the usr table to be 0, so the user can try to login again if they failed 5 times. This doesn't need to run if there are no values to reset. If we have a way to checks if the cron function needs to run or not, and we also work with elastic search, we can check if the triggers need to be dropped. This way we're reducing the times we drop and recreate elasticsearch triggers. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1840195/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp