You are here

function elysia_cron_get_channel_last_run in Elysia Cron 7.2

Same name and namespace in other branches
  1. 5.2 elysia_cron.module \elysia_cron_get_channel_last_run()
  2. 5 elysia_cron.module \elysia_cron_get_channel_last_run()
  3. 6.2 elysia_cron.module \elysia_cron_get_channel_last_run()
  4. 6 elysia_cron.module \elysia_cron_get_channel_last_run()
  5. 7 elysia_cron.module \elysia_cron_get_channel_last_run()

Get channel's last run value.

@todo Not used, to delete?

Parameters

string $channel: Channel name.

int $default: Default value.

bool $refresh: If TRUE - fresh status will be get from database.

Return value

int Last run timestamp or zero.

File

./elysia_cron.module, line 521

Code

function elysia_cron_get_channel_last_run($channel, $default = 0, $refresh = FALSE) {
  return elysia_cron_get($channel, TRUE, 'last_run', $default, $refresh);
}