I would like to know what is the difference between OutputStream and BufferedWriter objects? Can I use them interchangeabally?
Reason is because I created a job that has to run every, lets say, 5 minutes. The problem is that when I run my java program manually from the OS command prompt, like
then it works fine and it creates the file, using BufferedWriter. But when I schedual the Job to use my program, then it doesn't work. It doesn't use BufferedWriter.
Anyone can help me out, what do I need to do to make it work??
Thanks and regards.