I'm trying to do a little script that, as a function, will take a file and date as input and delete that file on the specified date. So I only need it to schedule to run once, and that's it.
I'm on OSX and have been looking at at, but not only have I been having problems scripting it, it's my understanding (I've been researching all day) that services like
cron will be deprecated on OSX in favor of
From what I've seen, not only is launchd overly complicated for this, I can't seem to figure out how to use it to do a one time action at a specific time and date (which is really all I need).
I'd like to get some help on this, please. I'd rather not use at, and ideally it's a solution that will not require the user to install extra stuff. It also needs to be scriptable (so, command line). If I have to use
launchd, so be it, but it really needs to be able to use a specific time and date.