Set lower priority on a process initiated by Hazel

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

By way of example, I have an active folder which Hazel monitors, into which I drop movie files eg wmv files

An embedded script runs Handbrake to convert to m4v. However the Handbrake process is very cpu intensive and my Mac naturally slows down to accommodate. Easy enough to run renice +20 on the process manually through Terminal.

This is just an example of lots of rules I have which initiate programs which could hog cpu.

I would like to have a generic rule or checkbox setting, that allows me to blanket specify that whatever Hazel is initiating in a rule or set of rules is run at a lower priority. I can build the 'nice' command into my scripts but this is hard wiring when what I'd really like is to be able to say x rule is always run nice-ly at a lower priority.

Can this be done?

thanks
rleaver152
 
Posts: 11
Joined: Sun Apr 30, 2017 3:24 pm

Hazel already does that for itself but it may not carry across to your scripts, in which case, you'll need to do it manually.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support