This commit is contained in:
Tibor Bossanyi (Freelancer)
2021-09-17 17:45:29 +02:00
parent 02e39f1811
commit b8072b6459
4 changed files with 5 additions and 7 deletions
@@ -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()