Jason Watkins

Q: pmset Badly formatted date (2)

Hi,

 

I'm trying to set a power-off and power-on event for my macs via Apple Remote Desktop and pmset. I'm entering:

 

sudo pmset schedule shutdown "12/24/15 17:00:00"

 

According to OS X 10.10.5, the command is wrong. It errors with:

 

Error: Badly formatted date (2)

Error parsing scheduled event.

 

There are no pre-existing schedules for power events, just the defaults. According to the MAN page for pmset, my syntax is correct.

Has anyone else come across this and have a solution?

 

Thanks

Mac mini (Late 2012), OS X Yosemite (10.10.2), 2.3GHz Core i7, 16GB RAM, 256GB SSD

Posted on Dec 15, 2015 10:20 AM

Close

Q: pmset Badly formatted date (2)

  • All replies
  • Helpful answers