func (js *JobScheduler) SetLast(ji *JobInvocation) {
	js.lastLock.Lock()
	js.last = ji
	js.lastLock.Unlock()
}
// SetLast sets the last invocation, it is useful for tests etc.
SetLast sets the last invocation, it is useful for tests etc.
// SetLast sets the last invocation it is useful for tests etc .
func (js *JobScheduler) SetLast(ji *JobInvocation) {
	js.lastLock.Lock()
	js.last = ji
	js.lastLock.Unlock()
}
func ( js * JobScheduler ) SetLast ( ji * JobInvocation ) { js . lastLock . Lock ( ) js . last = ji js . lastLock . Unlock ( ) }
SetLast sets the last invocation, it is useful for tests etc.
SetLast sets the last invocation it is useful for tests etc .