Job 1321.3 not running to be vacated
So it didn't seem to work.
Thanks, this is a desktop machine and it must allow 1 slot for desktop user.
I was wondering why the job didn't get resumed after the user left the machine, and the slot should have freed up.
DESKTOP = TRUE
SLOTS_CONNECTED_TO_CONSOLE = 1
WANT_VACATE = ($(ActivationTimer) > 10 * $(MINUTE))
SUSPEND = ifThenElse($(DESKTOP),(($(KeyboardBusy) || $(ConsoleBusy)) && ((SlotID <= $(SLOTS_CONNECTED_TO_CONSOLE)) || (SlotID <= $(SLOTS_CONNECTED_TO_CONSOLE))) || ((CpuBusyTime > 2 * $(MINUTE)) && $(ActivationTimer) > 90)),FALSE)
CONTINUE = ($(CPUIdle) && ($(ActivityTimer) > 10) && (KeyboardIdle > $(ContinueIdleTime)))
PREEMPT = ifThenElse($(DESKTOP),((Activity == "Suspended" && ($(ActivityTimer) > $(MaxSuspendTime))) || $(SUSPEND)),FALSE)