Java cron job

Status
Not open for further replies.

dfound

New Member
Messages
29
Reaction score
0
Points
0
Hey, I am trying to run a java program as a cron job, but when I run it, the e-mail gives me the following error:
/usr/bin/java: line 67: /tmp/javaKt9946: Permission denied
/usr/bin/java: line 67: /tmp/javaKt9946: Success
This is the jave program that I am trying to run:
public class Hello {
public static void main( String[] args ){
System.out.println("HELLO THERE");
}
}
I have a more complicated program that I would like to run, but if I can't get this to run, maybe cron jobs aren't allowed to run java? Anyone know?

Thanks

Dave
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
I don't have any experience with Java, might have to turn to Google for this one.

-Corey
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
If you find an answer let us know or if there is something specific I can help with.

-Corey
 
Status
Not open for further replies.
Top