You are here

function elysia_cron_message in Elysia Cron 6.2

Same name and namespace in other branches
  1. 7.2 elysia_cron.module \elysia_cron_message()

Sends a standard message to user Drush see it

6 calls to elysia_cron_message()
elysia_cron_cron in ./elysia_cron.module
Hook cron is invoked only by standard drupal cron. It's used to replace drupal cron.
elysia_cron_help in ./elysia_cron.module
I use help section for admin/build/modules page to check if elysia_cron is the module with the smallest weight. If it's not i'll set it and print a message
elysia_cron_reset_statistics_form_submit in ./elysia_cron.admin.inc
elysia_cron_run_form_submit in ./elysia_cron.admin.inc
elysia_cron_run_job in ./elysia_cron.module
Public function to execute a single job

... See full list

File

./elysia_cron.module, line 719

Code

function elysia_cron_message($message, $vars = array()) {
  global $elysia_cron_drush;
  if (empty($elysia_cron_drush)) {
    drupal_set_message(t($message, $vars));
  }
  else {
    drush_log(strip_tags(dt($message, $vars)), "ok");
  }
}