BO1.28+6
This commit is contained in:
@@ -160,6 +160,6 @@ LOGGING = {
|
||||
|
||||
|
||||
CRON_CLASSES = [
|
||||
'controlling.cron.cron.MyCronJob',
|
||||
'aitrainer_backoffice.controlling.cron.cron.MyCronJob',
|
||||
# ...
|
||||
]
|
||||
|
||||
@@ -10,8 +10,5 @@ https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/
|
||||
import os
|
||||
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'aitrainer_backoffice.settings')
|
||||
|
||||
application = get_wsgi_application()
|
||||
|
||||
|
||||
@@ -12,7 +12,8 @@ class MyCronJob(CronJobBase):
|
||||
print(datetime.datetime.now(), " *** END sync customers ")
|
||||
|
||||
def do(self):
|
||||
helper = MauticHelper()
|
||||
helper.syncTrial()
|
||||
pass
|
||||
#helper = MauticHelper()
|
||||
#helper.syncTrial()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user