I have a Django project which has a lot of apps. To backup the database, I am using django-dbbackup.
To backup the database, I use this: "python manage.py dbbackup" - This command basically does a backup of the existing database and stores it in a specified location. What i want to do is, I want to execute this command periodically, using something like a django-chronograph.
I would like to make an app which would schedule periodic execution of "dbbackup" command from django-dbbackup. How do I make it execute a specific command from another application (which is django-dbbackup). A simple command line command would be fine. Example, I create an app called BS, It should work like this: "python manage.py bs" and then it should automatically execute the command from django-dbbackup and set up a cron job as well. How do I accomplish this? I have made an app called BS using "python manage.py startapp BS", and also added it in INSTALLED_APPS.