I'm not quite sure what you mean, but the Greenify app force-stops apps selectively to prevent them running in the background and consuming battery charge.
What you are asking for is basically an automated task killer, which is known to cause eventual slow down and hanging on your phone, increase battery usage, and not fixable by anything less than a factory reset. Why would anyone want that?