diff --git a/docroot/modules/custom/va_gov_content_release/src/Form/NextGitForm.php b/docroot/modules/custom/va_gov_content_release/src/Form/NextGitForm.php index deb790eeff..02786aca63 100644 --- a/docroot/modules/custom/va_gov_content_release/src/Form/NextGitForm.php +++ b/docroot/modules/custom/va_gov_content_release/src/Form/NextGitForm.php @@ -287,7 +287,7 @@ public function submitForm(array &$form, FormStateInterface $form_state) { else { $file = 'public://next-buildrequest.txt'; file_put_contents($file, 'build me Seymour!'); - $this->messenger()->addMessage($this->t('Build lock file set.')); + $this->messenger()->addMessage($this->t('Build request file set.')); } } diff --git a/docroot/modules/custom/va_gov_content_release/va_gov_content_release.module b/docroot/modules/custom/va_gov_content_release/va_gov_content_release.module index 335d982354..67ca057943 100644 --- a/docroot/modules/custom/va_gov_content_release/va_gov_content_release.module +++ b/docroot/modules/custom/va_gov_content_release/va_gov_content_release.module @@ -9,6 +9,9 @@ * Implements hook_cron(). */ function va_gov_content_release_cron(): void { + // Log cron run starting. + \Drupal::logger('va_gov_content_release')->info('Cron run starting.'); + // Run script in dirname(DRUPAL_ROOT) directory. $script = dirname(DRUPAL_ROOT) . '/scripts/queue_runner/next_queue_runner.sh'; // Run script in background if it exists.