parameters: (self)
docstring: Wake up the cron workers
          The ODOO_NOTIFY_CRON_CHANGES environment variable allows to force the notifydb on both
          ir_cron modification and on trigger creation (regardless of call_at)
docstring_summary: Wake up the cron workers
          The ODOO_NOTIFY_CRON_CHANGES environment variable allows to force the notifydb on both
          ir_cron modification and on trigger creation (regardless of call_at)
docstring_tokens: Wake up the cron workers The ODOO_NOTIFY_CRON_CHANGES environment variable allows to force the notifydb on both ir_cron modification and on trigger creation ( regardless of call_at )
function: def _notifydb(self):
          """ Wake up the cron workers
          The ODOO_NOTIFY_CRON_CHANGES environment variable allows to force the notifydb on both
          ir_cron modification and on trigger creation (regardless of call_at)
          """
          with odoo.sql_db.db_connect('postgres').cursor() as cr:
              cr.execute('NOTIFY cron_trigger, %s', [self.env.cr.dbname])
          _logger.debug("cron workers notified")
function_tokens: def _notifydb ( self ) : with odoo . sql_db . db_connect ( 'postgres' ) . cursor ( ) as cr : cr . execute ( 'NOTIFY cron_trigger, %s' , [ self . env . cr . dbname ] ) _logger . debug ( "cron workers notified" )