Description

This event trigger after the cron task finished process. So with this trigger you can extend the process more after the completion of cron task.

@since 1.1

Examples

{code}

function onCronRun() 
{
$today = new JDate();
$message = 'Your scheduled task has been completed at ' . $today->toFormat('%Y-%m-%d %H:%M:%S');
 
$mailfrom = This email address is being protected from spambots. You need JavaScript enabled to view it.';
$fromname = 'www.jomsocial.com';
$email = This email address is being protected from spambots. You need JavaScript enabled to view it.';
$subject = 'Scheduled task completed.';
 
JUtility::sendMail($mailfrom, $fromname, $email, $subject, $message);
 
}

{/code}

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW