PageSourceSearch

https://life-star.ru/sites/all/modules/poormanscron/poormanscron.js?m

js life-star.ru collected 2026-10-02 16:47:16 UTC 598 bytes, 18 lines download raw bytes

1// $Id: poormanscron.js,v 1.1.2.3 2010/01/17 00:27:52 davereid Exp $
2(function ($) {
3
4/**
5 * Checks to see if the cron should be automatically run.
6 */
7Drupal.behaviors.cronCheck = function(context) {
8  if (Drupal.settings.cron.runNext || false) {
9    $('body:not(.cron-check-processed)', context).addClass('cron-check-processed').each(function() {
10      // Only execute the cron check if its the right time.
11      if (Math.round(new Date().getTime() / 1000.0) >= Drupal.settings.cron.runNext) {
12        $.get(Drupal.settings.cron.basePath + '/run-cron-check');
13      }
14    });
15  }
16};
17
18})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.