Skip to content

Commit

Permalink
kick backburner on userr login
Browse files Browse the repository at this point in the history
restart backburner when someone logs in.  this will kick the machine off a current job or else it would still continue to render even though the machine was taken out of the group.  this is not clean, but the only current way until ADSK fixes BBM.
  • Loading branch information
alatteri committed Jan 30, 2024
1 parent c216772 commit 1fe2d85
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions partytime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,10 @@ for BBGROUP in "${BBGROUPS[@]}"; do
fi
bbmsubmitxml
done

#Restart BB service to kick machine off from current render job
if [[ $ACTION == "remove" ]]; then
sudo /usr/bin/systemctl stop adsk_backburner
sleep 15
sudo /usr/bin/systemctl start adsk_backburner
fi

0 comments on commit 1fe2d85

Please sign in to comment.