Please give a feature to prevent mac going to sleep by moving cursor little by little every minute or so
See here: Prevent the system from sleeping on behalf of a utility.
Try this app: