Author Topic: Mac sleeps during PM task  (Read 3927 times)

Offline bazography

  • Sr. Member
  • ****
  • Posts: 259
    • View Profile
Mac sleeps during PM task
« on: February 06, 2020, 04:32:57 PM »
build 4257 (8daf8ba)
macOS 10.14.6

I was using PM's Save As to make JPG copies of hundreds of images, so I left it to run. When I returned to the computer it was sleeping. PM's progress had paused in the middle but happily continued on when I woke up the machine and logged back in.

Not sure if this is an OS issue or a PM issue. Any suggestions?

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Mac sleeps during PM task
« Reply #1 on: February 06, 2020, 10:01:25 PM »
build 4257 (8daf8ba)
macOS 10.14.6

I was using PM's Save As to make JPG copies of hundreds of images, so I left it to run. When I returned to the computer it was sleeping. PM's progress had paused in the middle but happily continued on when I woke up the machine and logged back in.

Not sure if this is an OS issue or a PM issue. Any suggestions?

PM does not try to prevent your system from sleeping.

If you have a long running task that you want to complete, set your power settings to allow the screen to sleep but not put the computer to sleep.

-Kirk

Offline Hayo Baan

  • Uber Member
  • ******
  • Posts: 2552
  • Professional Photographer & Software Developer
    • View Profile
    • Hayo Baan - Photography
Re: Mac sleeps during PM task
« Reply #2 on: February 08, 2020, 04:40:37 AM »
Since you're on a Mac, have a look at the terminal command caffeinate; this will prevent the system from sleeping altogether (for options on usage, please see the man caffeinate).

Cheers,
Hayo
Hayo Baan - Photography
Web: www.hayobaan.nl

Offline bazography

  • Sr. Member
  • ****
  • Posts: 259
    • View Profile
Re: Mac sleeps during PM task
« Reply #3 on: February 08, 2020, 10:12:46 PM »
Thanks Kirk & Hayo for the info. I don't run tasks like that often so no big deal. I always thought if a program was busy running a task that the computer couldn't go to sleep, so I just assumed it was a bug.