Since, the main cron thread is simply not running at all when using Gunicorn, we can make a new instance of our server and make it run on a different port. This new instance will be a normal one without gunicorn and can be used specifically for Schedulers or Cron jobs.

We can also have multiple instances of Gunicorn based on the requirement. One instance can be reserved for top-level management and second one for all other users.

Advertisements