Write cron business logic as a Python class and let this app do the rest! It enables Django projects to schedule cron tasks, tracks their success / failures, manages contention (via a cache) etc. Basically takes care of all the boring work for you :-)
when I create my project migrations in localhost and then I develop the application to production and run the migrations, it raises error about missing "0004_alter_cronjoblock_id_alter_cronjoblog_id.py".
Go to the django_cron in environment folder like C:\Users\<your_username>\.virtualenvs\test_cron-f760Ccpm\Lib\site-packages\django_cron\migrations and you can see the new created missing migration file "0004_alter_cronjoblock_id_alter_cronjoblog_id.py"
Can you please fix the migrations in the next version 0.6.1?
Hi,
when I create my project migrations in localhost and then I develop the application to production and run the migrations, it raises error about missing "0004_alter_cronjoblock_id_alter_cronjoblog_id.py".
To simulate the bug:
Donwload the zip test_cron.zip
Setup database in
test.py
Install environment with
pipenv install
Switch to the environment with
pipenv shell
Create migrations with
manage.py makemigrations
Go to the django_cron in environment folder like
C:\Users\<your_username>\.virtualenvs\test_cron-f760Ccpm\Lib\site-packages\django_cron\migrations
and you can see the new created missing migration file "0004_alter_cronjoblock_id_alter_cronjoblog_id.py"Can you please fix the migrations in the next version 0.6.1?