This discussion is locked
deanan

Q: Command line submission

I'm having trouble submitting to the command line. It appears to be successful but doesn't seem to be actually working. I also can't find the qmaster.plist that the manual talks about. Does anyone have any commandline examples that work?

Here's a test command:
/Applications/Apple\ Qmaster.app/Contents/MacOS/Apple\ Qmaster -clustername test -command "Generic Render" -options \<command\ executable\=\"\/bin\/echo\"\ input\=\"testing\"\ options\=\"\>\>\ \/tmp\/junk\"\>\<\/command\>

Message was edited by: deanan

Posted on Dec 17, 2007 11:30 AM

Close

Q: Command line submission

  • All replies
  • Helpful answers

  • by half.italian,

    half.italian half.italian Dec 20, 2007 9:08 AM in response to deanan
    Level 1 (10 points)
    Dec 20, 2007 9:08 AM in response to deanan
    I do something like this:

    /Applications/Apple\ Qmaster.app/Contents/MacOS/Apple\ Qmaster -clustername "halfitalian" -wd "/Users/halfitalian/Desktop/sw/etc/unix_scripts" -command "Shell" -options \<command\>sleep.py\ -time\ 5\ \<\/command\>

    Use the -command "Shell", and then just pass in args by appending them like normal after the script path. I think this is what you want...

    /Applications/Apple\ Qmaster.app/Contents/MacOS/Apple\ Qmaster -clustername test -command "Shell" -options \<command\>\/bin\/echo\ testing\<\/command\>

    Good luck!

    ~Sean