I use django in project. I have many cron jobs which operate with database. I want to replace cron jobs on other machine and synchronize processed data with main server. But my host provider doesnt allow external connections to db. How to organize sync. best way? I know what i can pass it via POST request with my own written protocol, buy may be better solution exsists or lib for this?
Share
Are all external connections blocked? If you can get an
rsyncdaemon to run in the machine you can push (sync, rather) the data from other machines to master and have master process it. This will involve adding some kind of daemon process at the master.If all connections are indeed blocked you will have to resort to POST or the more tedious one of receiving email attachments and processing them.
Side note: you should think of switching providers post-haste!