Scheduling a 1-time future job in OSX?
May 11, 2008 4:17 AM
Subscribe
Mac OS X (Leopard): at(1) replacement?
I need to run a shell script, once, at a specified time in the future (ideally, I'd like to be able to specify "X minutes from now, do this", equivalent to "at now+X minutes").
However, at(1) is broken on OS X (and it's not just because atrun is disabled: at's got some serious time conversion errors) and I can't figure out how to do this via launchd.
Running 10.5.2 if it makes a difference.
Short of using sleep, is there an easy way to queue jobs up for future processing but make it so that the job is only run once, then dequeued/deleted?
posted by aberrant to computers & internet (19 comments total)
5 users marked this as a favorite
posted by sophist at 4:38 AM on May 11, 2008