Hi there.
I need some help, I think this will be very fast for you to help.
I've installed django-periodically 0.3.0 using pip, yesterday.
I added 'periodically' to INSTALLED_APPS.
I have an app called corporate, in which I created a periodictasks.py file, in which I have:
from periodically.decorators import *
import logging
import os
@daily(hour=10, minute=58)
def check_domain_expiration_task():
"<task_code_here>"
and in crontab I have:
57 10 * * * /usr/bin/python /usr/local/aurora-framework/manage.py runtasks
Nothing runs.
I've tried the same time in both, earlier time in each one and still nothing.
If I run manually "python manage.py runtasks", nothing happens, but if I run "python manage.py runtasks --force", the task runs and works correctly.
Any hint on what is causing this issue?
Thanks a lot for your time and help.
Best regards,
Luís Nabais
Hi there.
I need some help, I think this will be very fast for you to help.
I've installed django-periodically 0.3.0 using pip, yesterday.
I added 'periodically' to INSTALLED_APPS.
I have an app called corporate, in which I created a periodictasks.py file, in which I have:
from periodically.decorators import *
import logging
import os
@daily(hour=10, minute=58)
def check_domain_expiration_task():
"<task_code_here>"
and in crontab I have:
57 10 * * * /usr/bin/python /usr/local/aurora-framework/manage.py runtasks
Nothing runs.
I've tried the same time in both, earlier time in each one and still nothing.
If I run manually "python manage.py runtasks", nothing happens, but if I run "python manage.py runtasks --force", the task runs and works correctly.
Any hint on what is causing this issue?
Thanks a lot for your time and help.
Best regards,
Luís Nabais