Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For me it is quite easy to automate a jar file to run on a pc.

java -jar "C:\...\mFilePath\myJar.jar"

stick this into a cmd file, and schedule it.

Now, migrating over to a mac, i am unsure how to do this. I assumed the automator would be more straight forward, but i find it not to be. I must be doing something wrong.

Please, any advice is appreciated!!

share|improve this question

migrated from Nov 5 '12 at 9:47

This question came from our site for professional and enthusiast programmers.

If you have already searched this site and haven't found anything useful, you might also want to consider searching the Super User sister site. I actually find your question more relevant there than here and, accordingly, am voting to migrate it to that site. – Andriy M Nov 4 '12 at 16:28
ok, i can agree with that. i have voted as well. thank you – jason m Nov 4 '12 at 16:30

If you're not familiar with launchd you could also use cron, what is most commonly used under *nix. Just fire up Terminal and use "crontab -e" to add your job.

Format for crontab is

min hour day month day-of-week command

For more information look at Wikipedia :: Cron

share|improve this answer

You can schedule scripts to run with launch agents. (man launchd , man launchctl). Lingon is a useful resource.

share|improve this answer
Links I found useful for learning about launchd and launchctl:,…,…. Also, if you are a Ruby person, check out Mike Perham's lunchy. – Telemachus Nov 5 '12 at 10:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .