Ignore DeprecationWarning when running cron jobs on server.