not getting output when scheduled a jcl program in crontab
dear friends i have a jcl program that uses PCO program .I want to schedule it every minute using crontab .i have don开发者_高级运维e the entry in cronntab like below * * * * * path/job but the crontab is not producing any output but when i am seeing /var/log/crontab it is showing that crond has executed the job every minute but i am not getting any output Plz help how to schedule that job
I have read in internet that it can be because of environment variables not set properly plz tell if that can be the case
Where do you expect the output to show up ? crontab
If standard output and standard error are not redirected by commands executed from the crontab entry, any generated output or errors shall be mailed, via an implementation-defined method, to the user.
So you should redirect the output
* * * * * path/job > /path/to/file
Alternatively, check your mail (mail
).
精彩评论