Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8783797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T20:55:08+00:00 2026-06-13T20:55:08+00:00

Like it says on the tin, I’ve a launch script that is supposed to

  • 0

Like it says on the tin, I’ve a launch script that is supposed to fire at 1.20 AM but seems to be firing shortly after the user logs in instead. Can anyone see what I’ve done wrong?

Is is the way I’ve written the ProgramArguments, reaching within the app’s container to launch it? I’ve not had success launching the (applescript) app any other way i.e. open ~/Library/CDesResources/Shutdown.app didn’t seem to work.

The plist is saved in ~/Library/LaunchAgents/shutdownAgent.plist so it should only fire when that user is logged in correct?

Many thanks for your fresh eyes and expertise.

<?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
        <key>Label</key>
        <string>shutdownAget</string>
        <key>Nice</key>
        <integer>-20</integer>
        <key>ProgramArguments</key>
        <array>
            <string>/Library/CDesResources/Shutdown.app/Contents/MacOS/applet</string>
        </array>
        <key>RunAtLoad</key>
        <false/>
        <key>ServiceDescription</key>
        <string>launch the shutdown script</string>
        <key>StartCalendarInterval</key>
        <dict>
            <key>Hour</key>
            <integer>1</integer>
            <key>Minute</key>
            <integer>20</integer>
        </dict>
    </dict>
    </plist>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T20:55:10+00:00Added an answer on June 13, 2026 at 8:55 pm

    From the man page for launchd.plist(5):

    Unlike cron which skips job invocations when the computer is asleep, launchd will start the job the next time the computer wakes up. If multiple
    intervals transpire before the computer is woken, those events will be coalesced into one event upon wake from sleep.

    So launchd is correctly noticing at launch that the job didn’t run at 01:20 and scheduling it for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

this link indicates that it is ctrl+cmd+up or down just like xcode says but
Like the question says. After a solver.solve(); I want to see specific rules (with
I have added the sdk files like dropbox website says, but I can't figure
Like the title says, I want to parse XML in my iPhone application, but
What it says on the tin: I'd like to use the @property / @synthesize
Like the title says I'm having some trouble printing out symbol codes and their
Like the title says, I'm wondering if the use of WebClient is the proper
Like the question says. Converting to / from the (truncated) string representations can affect
Like the title says, PHP is really confusing me on a simple if comparison
like 1 image says more than 1000 words. here is what I want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.