Skip to content
Snippets Groups Projects
Select Git revision
  • 8.x-1.x
  • 7.x-1.x
  • 8.x-1.19
  • 8.x-1.18
  • 8.x-1.17
  • 8.x-1.16
  • 8.x-1.15
  • 8.x-1.14
  • 8.x-1.13
  • 8.x-1.12
  • 8.x-1.11
  • 8.x-1.10
  • 8.x-1.9
  • 8.x-1.8
  • 8.x-1.7
  • 8.x-1.6
  • 8.x-1.5
  • 8.x-1.4
  • 8.x-1.3
  • 8.x-1.2
  • 8.x-1.1
  • 7.x-1.0-rc5
22 results

DrupalSqlBase.php

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    system.cron.js 496 B
    (function ($) {
    
    "use strict";
    
    /**
     * Checks to see if the cron should be automatically run.
     */
    Drupal.behaviors.cronCheck = {
      attach: function(context, settings) {
        if (settings.cronCheck || false) {
          $('body').once('cron-check', function() {
            // Only execute the cron check if its the right time.
            if (Math.round(new Date().getTime() / 1000.0) > settings.cronCheck) {
              $.get(Drupal.url('system/run-cron-check'));
            }
          });
        }
      }
    };
    
    })(jQuery);