BO 1.30.15 double Notification class name
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from ..automation.notification import Notification
|
||||
from ..automation.notification import NotificationExec
|
||||
from django_cron import CronJobBase, Schedule
|
||||
import datetime
|
||||
|
||||
@@ -14,7 +14,7 @@ class MyCronJob(CronJobBase):
|
||||
|
||||
|
||||
class NotificationJob(CronJobBase):
|
||||
notif = Notification()
|
||||
notif = NotificationExec()
|
||||
RUN_EVERY_MINS = 5
|
||||
schedule = Schedule(run_every_mins=RUN_EVERY_MINS)
|
||||
code = 'aitrainer_backoffice.controlling.notification' # a unique code
|
||||
|
||||
Reference in New Issue
Block a user