Closed ghukill closed 5 years ago
Put as function under manage.py
, then could run cron as combine
user with something like:
/long/path/to/env/python /opt/combine/manage.py exportstateall
Done - combination of export_all
method for StateIO
, and exportstate
manage.py
command.
Would be nice to have means to trigger a state export via API or command line, such that it could be scheduled as a cron.