Exemplo n.º 1
0
void
JICLocal::Continue( void )
{
		// We need the update ad for our job.  We'll use this for the
		// LocalUserLog, and maybe someday other notification to the
		// local user...
	ClassAd update_ad;
	publishUpdateAd( &update_ad );

		// See if the LocalUserLog wants it
	u_log->logContinue( &update_ad );
}
Exemplo n.º 2
0
bool
JobInfoCommunicator::periodicJobUpdate(ClassAd* update_ad, bool)
{
#if HAVE_JOB_HOOKS
    if (m_hook_mgr) {
        ClassAd ad;
        ClassAd* update_ad_ptr = NULL;
        if (update_ad) {
            update_ad_ptr = update_ad;
        }
        else {
            publishUpdateAd(&ad);
            update_ad_ptr = &ad;
        }
        m_hook_mgr->hookUpdateJobInfo(update_ad_ptr);
    }
#endif

    return true;
}