BO1.28+4
This commit is contained in:
parent
e980928e4d
commit
7ce7d81641
@ -160,6 +160,6 @@ LOGGING = {
|
||||
|
||||
|
||||
CRON_CLASSES = [
|
||||
'aitrainer_backoffice.controlling.cron.sync_customers',
|
||||
'controlling.cron.cron.MyCronJob',
|
||||
# ...
|
||||
]
|
||||
|
@ -3,9 +3,4 @@ from django.apps import AppConfig
|
||||
|
||||
class ControllingConfig(AppConfig):
|
||||
app_label = 'controlling'
|
||||
name = 'controlling'
|
||||
|
||||
|
||||
class ControllingConfigLive(AppConfig):
|
||||
app_label = 'controlling'
|
||||
name = 'aitrainer_backoffice.controlling'
|
||||
name = 'controlling'
|
@ -12,9 +12,7 @@ class MyCronJob(CronJobBase):
|
||||
print(datetime.datetime.now(), " *** END sync customers ")
|
||||
|
||||
def do(self):
|
||||
sync_customers() # do your thing here
|
||||
helper = MauticHelper()
|
||||
helper.syncTrial()
|
||||
|
||||
|
||||
def sync_customers():
|
||||
helper = MauticHelper()
|
||||
helper.syncTrial()
|
Loading…
Reference in New Issue
Block a user