Search results

  1. Fadookie

    Cron issues

    That must be my problem then, I should have set -Duser.dir to ~/.kolmafia instead of the path to the KoLmafia.jar file. I'll try that out in a bit, it will probably work.
  2. Fadookie

    Cron issues

    Argh... now I realize I get the login error when I try to run java headless normally in the shell. But I have to use that in order for java to run under cron at all. :(
  3. Fadookie

    Cron issues

    You'd think, but ps shows that cron is running the job under my account. The only thing I can think of is that maybe it's not finding the settings folder since it's in ~/.kolmafia instead of ~/games/kol/settings ? I'll try making a symlink just in case.
  4. Fadookie

    Cron issues

    I'm trying to write a cron job that will run my breakfast routine for me while I'm on vacation, but it doesn't work. Here's how I call the program: java -Djava.awt.headless=true -Duser.home=/home/eliot/games/kol -Duser.dir=/home/eliot/games/kol -jar /home/eliot/games/kol/KoLmafia.jar...
Top