{$_cron_command = "php {$root_path}cli.php crm worker birthday"} {$_last_cron_time = crmNotificationBirthdayWorker::getLastCliRunDateTime()} {$_cli_ok = crmNotificationBirthdayWorker::isCliOk()}
{if $_cli_ok}

[`Cron job required for sending greetings to customers is set up properly.`] {if $_last_cron_time} [`Last execution time:`] {$_last_cron_time|wa_date:'datetime'} {/if}

{sprintf_wp( 'The following cron job command is currently in use (%ssetting up a cron job%s):', sprintf( '', _w('https://developers.webasyst.com/installation/tips/cron/') ), '' )}

{$_cron_command}

{else}

[`Cron job required for sending greetings to customers.`]

{sprintf_wp( 'Please set up a cron job (view instructions) using the command specified below in your web-hosting control panel:', _w('https://developers.webasyst.com/installation/tips/cron/') )}

{$_cron_command}

{if $_last_cron_time}

[`Last execution time:`] {$_last_cron_time|wa_date:'datetime'}

{/if}
{/if}