Wish Autostart-Script for B4iBuildServer

D

Deleted member 103

Guest
Hi,

I would like to automate the start of "B4iBuildServer" at startup.
Have this script written, but it does not work, it always comes "command not found" message.
Can someone tell me where the error is?
B4X:
Expand Collapse Copy
#!/bin/sh
#
# Autostart for B4iBuildServer
#

java -jar B4iBuildServer.jar

But the same error message I get when:
B4X:
Expand Collapse Copy
#!/bin/sh
ls
 
Yes, I have done everything so. :(

without shell script it works.
B4X:
Expand Collapse Copy
java -jar B4iBuildServer.jar
 
Just tested it and it works.

SS-2014-11-11_15.04.10.png


Make sure to write ./start.sh otherwise it will not work.
 
This input works.
B4X:
Expand Collapse Copy
./startscript.sh

Automatically at login but not, it's just an editor on the contents of the script.
20141111_194525.jpg
 
i also want an autoscript how do i do it ?? please in english (auch wenn ich deutsch verstehe aber mein mac ist auf english, wie hast du das gemacht fillippo?)
 
Back
Top