Commit e5c12866 authored by dorothee.kueppers's avatar dorothee.kueppers
Browse files

cron changed

parent 9496d2f2
......@@ -141,7 +141,7 @@ STATIC_ROOT = os.path.join(BASE_DIR, 'static')
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
CRONJOBS = [
('*/1 * * * *', 'todo.cron.email_todays_todos')
('0 8 * * *', 'todo.cron.email_todays_todos')
]
......
......@@ -3,9 +3,6 @@ from django.core.mail import send_mail
def email_todays_todos():
print('hi')
f = open('/Users/dorothee.kuepers/Desktop/hi.txt', 'w')
f.close()
send_mail('Hello from Feierabend',
'Mail gesendet',
'feierabend-todo@gmx.de',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment