I have a .sh script that runs a python script that runs a jarfile.
I want to run it from crontab. I created a log for the crontab and I get this error:
Error: Unable to access jarfile ArhivareProd.jar
This is the line that runs the jar file:
os.system("java -jar ArhivareProd.jar &")
What can I do to run it from crontab without error ?
java -jar /absolute/path/to/archive.jar?