the documentation is ambiguous in that regard.  that said, I feel it says 
you can register the cron tasks either way, but it doesn't do anything to 
actually install the commands.  you can see the code of the installtasks 
management command:

https://github.com/jgorset/django-kronos/blob/v1.0/kronos/management/commands/installtasks.py

which then runs the functions in 
https://github.com/jgorset/django-kronos/blob/v1.0/kronos/__init__.py#L117-L154

as you can see there, it uses the python crontab package to install the 
crontab task.

Furthermore, in 
https://github.com/jgorset/django-kronos/blob/v1.0/kronos/__init__.py#L107-L114,
 
you can see what exactly the decorator consists of.  It just adds the task 
to a task registry set and doesn't do anything about actual installation.

as an aside, one of the things I've found to be pretty valuable is to look 
at the project repository when it comes to questions like this.  this is 
not meant to be mean, and I'm sorry if it comes across that way.  I didn't 
know about this project before your question, but a brief look in the repo 
revealed those links and functions above, which are the most likely answers 
to your question above.  you're asking good questions here and giving good 
help in return, so if you internalize a method of investigating problems 
like this, or have more specific and focused questions that your 
investigations have unearthed.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7e5feb84-d1d6-4dfe-bc48-2e36ac0f0e30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to