Hi,
I have jar file which creates some files. This jar file is called/run by shell script. Manually, I run the shell script and jar file creates the files and files' contents successfully.
When I set the cronjob to run the file. It runs the shell script and creates the file but somehow file does not have any content.
Anyone has any idea, why I am missing the contents of the file
(When I run the shell script by cronjob)?
I have jar file which creates some files. This jar file is called/run by shell script. Manually, I run the shell script and jar file creates the files and files' contents successfully.
When I set the cronjob to run the file. It runs the shell script and creates the file but somehow file does not have any content.
Anyone has any idea, why I am missing the contents of the file
(When I run the shell script by cronjob)?
Comment