This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I am new to the Cron Job, I am trying to schedule a Java program that print current Date on System.out every 5 minutes. I put inside the command line is "java printBeep" But the output I get from email is
Please tell me where I went wrong, btw the interface only permits 1 line of command to input, and I can't seem to put more lines of command lines. Please help if can, thank you all. Have a nice day! [ September 17, 2003: Message edited by: Steven Ho ]
By the way, there is no System.out from within the cron job, as there is no terminal associated with the cron job. Depending on how your cron environment is set up, you may get an email sent to you with the output that would have appeared on the screen if there had been a screen.