parameters: (cls, cr)
return_statement: return cr.dictfetchall()
docstring: Return a list of all jobs that are ready to be executed
docstring_summary: Return a list of all jobs that are ready to be executed
docstring_tokens: Return a list of all jobs that are ready to be executed
function: def _get_all_ready_jobs(cls, cr):
          """ Return a list of all jobs that are ready to be executed """
          cr.execute("""
              SELECT *
              FROM ir_cron
              WHERE active = true
                AND numbercall != 0
                AND (nextcall <= (now() at time zone 'UTC')
                  OR id in (
                      SELECT cron_id
                      FROM ir_cron_trigger
                      WHERE call_at <= (now() at time zone 'UTC')
                  )
                )
              ORDER BY priority
          """)
          return cr.dictfetchall()
function_tokens: def _get_all_ready_jobs ( cls , cr ) : cr . execute ( """
              SELECT *
              FROM ir_cron
              WHERE active = true
                AND numbercall != 0
                AND (nextcall <= (now() at time zone 'UTC')
                  OR id in (
                      SELECT cron_id
                      FROM ir_cron_trigger
                      WHERE call_at <= (now() at time zone 'UTC')
                  )
                )
              ORDER BY priority
          """ ) return cr . dictfetchall ( )