Questions tagged [django-kronos]

For questions related to the django-kronos, a Django app that collects tasks from cron modules in your project root and each of your applications.

Kronos makes it really easy to define and schedule tasks with cron. It can also work with Django management commands.

Project page

2 questions
0
votes
1 answer

Django task not running using crontab

I am using django-kronos to create a cron job and it is running fine when I run it manually. But it is not running in case of crontab. Below is my code to test if it is working: settings.py ENV_PATH = os.path.join(BASE_DIR, '.env') # Adding KRONOS…
Sumit S Chawla
  • 3,180
  • 1
  • 14
  • 33
0
votes
0 answers

Unable to use django-kronos

I've been testing django-kronos with the simple example listed in the github readme: I did pip3 install django-kronos, myproject/myapp/cron.py: import kronos import random @kronos.register('* * * * *') def complain(): complaints = [ "I…
Joel G Mathew
  • 7,561
  • 15
  • 54
  • 86