I have a shell script that I want to schedule via cron to be ran every 10 minutes. The shellscript runs a jar file. If i run the shellscript via ./sensorrreader.sh it works just fine (creates a file) ...
I know the question is asked in many variants and I have read them, but still cannot find an answer to my problem. I have a jar file which I want to run at startup as root. I have tried in rc.local, ...
I've tried everything I can think and searched high and low for solutions of but I can't get JAVA_HOME into cron to run anything java periodically. In terminal java -version gives me everything ...
Issues with Java's JDBC (MySQL) for linux - Crontab job causes connection failure in java program, but when run manually is fine
So as the title states, Ive got an issue with Crontab and my Java program connecting to a remote MySQL database. The program itself is quite simple: it connects to the database, grabs two tables ...