Rinn
Developer
I have a scheduled task where I pass a script to kolmafia on the command line in cli mode that doesn't seem to be running my logout script when it quits:
Here's an example of my command line call:
And the basic contents of the script:
The login script defined in the settings for my character is run correctly, however the logout script is not. It runs fine when I call quit in the cli in gui mode, or if in cli mode without passing a script in.
Here's an example of my command line call:
Code:
java -jar kolmafia.jar --CLI script.ash
And the basic contents of the script:
Code:
void main()
{
cli_execute("login character");
// Do automation here
cli_execute("quit");
}
The login script defined in the settings for my character is run correctly, however the logout script is not. It runs fine when I call quit in the cli in gui mode, or if in cli mode without passing a script in.