Skip to content

Commit

Permalink
NBBIB-326 Restore CRON execution window for PROD
Browse files Browse the repository at this point in the history
  • Loading branch information
camilocodes committed Jul 4, 2023
1 parent c07f31d commit 8b8a821
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom/modules/nbbib_core/nbbib_core.module
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ function nbbib_core_cron() {
$datestamp = date('c');

// If it's between 12:45-1am server time...
if ($current_hour) { // CRON DEV - RUN EVERY CRON
//if ($current_hour < 1 and $current_minute > 44) {
//if ($current_hour) { // CRON DEV - RUN EVERY CRON
if ($current_hour < 1 and $current_minute > 44) {
\Drupal::logger('nbbib_core')->notice("NBBIB cleanup CRON job started at [$datestamp].");
// Cleanup orphan contribustors.
\Drupal::logger('nbbib_core')->notice("Starting orphan contributor cleanup...");
Expand Down

0 comments on commit 8b8a821

Please sign in to comment.