<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>power management &#8211; My Shitty Code</title>
	<atom:link href="https://myshittycode.com/tag/power-management/feed/" rel="self" type="application/rss+xml" />
	<link>https://myshittycode.com</link>
	<description>Embracing the Messiness in Search of Epic Solutions</description>
	<lastBuildDate>Wed, 19 Apr 2023 14:10:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://myshittycode.com/wp-content/uploads/2022/04/cropped-icon-32x32.png</url>
	<title>power management &#8211; My Shitty Code</title>
	<link>https://myshittycode.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">205304208</site>	<item>
		<title>Mac: Managing Startup/Shutdown Schedules on macOS Ventura</title>
		<link>https://myshittycode.com/2023/04/19/mac-managing-startup-shutdown-schedules-on-macos-ventura/</link>
					<comments>https://myshittycode.com/2023/04/19/mac-managing-startup-shutdown-schedules-on-macos-ventura/#respond</comments>
		
		<dc:creator><![CDATA[Shitty Author]]></dc:creator>
		<pubDate>Wed, 19 Apr 2023 14:09:56 +0000</pubDate>
				<category><![CDATA[Operating System]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[MacOS]]></category>
		<category><![CDATA[power management]]></category>
		<guid isPermaLink="false">https://myshittycode.com/?p=2291</guid>

					<description><![CDATA[<p>PROBLEM Since upgrading to macOS Ventura, managing custom startup/shutdown schedules directly from the GUI (via Energy Saver) is no longer possible. SOLUTION While this feature is not accessible from the GUI anymore, it can still be accomplished using pmset command. To list all the existing schedules: By default, it is empty. To schedule a daily [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://myshittycode.com/2023/04/19/mac-managing-startup-shutdown-schedules-on-macos-ventura/">Mac: Managing Startup/Shutdown Schedules on macOS Ventura</a> appeared first on <a rel="nofollow" href="https://myshittycode.com">My Shitty Code</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">PROBLEM</h2>



<p>Since upgrading to macOS Ventura, managing custom startup/shutdown schedules directly from the GUI (via Energy Saver) is no longer possible.</p>



<h2 class="wp-block-heading">SOLUTION</h2>



<p>While this feature is not accessible from the GUI anymore, it can still be accomplished using <strong>pmset</strong> command.</p>



<p>To list all the existing schedules:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
pmset -g sched
</pre></div>


<p>By default, it is empty.</p>



<p>To schedule a daily shutdown at 11 PM:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
sudo pmset repeat shutdown MTWRFSU 23:00:00
</pre></div>


<p>While you can achieve a similar outcome by creating a cron job with <strong>shutdown -h now</strong>, you can pull off various power management actions using <strong>pmset</strong>, such as shutting down the machine when the UPS emergency is reached or control when the disk/screen should wake up or sleep. </p>



<p>To configure the machine to shut down at 11 PM daily and power on  at 1 AM Sunday:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
sudo pmset repeat shutdown MTWRFSU 23:00:00 wakeorpoweron S 1:00:00
</pre></div>


<p>To show the new schedules:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
&gt; pmset -g sched                                                                                                
Repeating power events:
  wakepoweron at 1:00AM Saturday
  shutdown at 11:00PM every day
</pre></div>


<p>If you are as forgetful as me, the above command ensures the machine doesn&#8217;t run constantly, and it wakes up at 1 AM every Sunday to perform the Time Machine backup to another server.</p>



<p>To learn more, <a href="http://x-man-page://pmset" data-type="URL" data-id="x-man-page://pmset">view <strong>pmset</strong> manual</a>.</p>



<p></p>
<p>The post <a rel="nofollow" href="https://myshittycode.com/2023/04/19/mac-managing-startup-shutdown-schedules-on-macos-ventura/">Mac: Managing Startup/Shutdown Schedules on macOS Ventura</a> appeared first on <a rel="nofollow" href="https://myshittycode.com">My Shitty Code</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://myshittycode.com/2023/04/19/mac-managing-startup-shutdown-schedules-on-macos-ventura/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2291</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Lazy Loading (feed)
Database Caching using Disk

Served from: myshittycode.com @ 2026-02-21 09:29:46 by W3 Total Cache
-->