dsjob not working through crontab
Moderators: chulett, rschirm, roy
dsjob not working through crontab
Hi,
I am running the following dsjob command through a script -
/opt/ibm/IS/InformationServer/Server/DSEngine/bin/dsjob -domain <dom> -user <usernm> -password <pwd> -server <server> -ljobs <projnm>
And on manually running the script, its giving output but when I am scheduling the script, it is not giving output.
Please give suggestions on this issue.
I am running the following dsjob command through a script -
/opt/ibm/IS/InformationServer/Server/DSEngine/bin/dsjob -domain <dom> -user <usernm> -password <pwd> -server <server> -ljobs <projnm>
And on manually running the script, its giving output but when I am scheduling the script, it is not giving output.
Please give suggestions on this issue.
Actually I am directing the output of dsjob to a file.
I am able to do this when I run the script from $ prompt
$ my_script.sh
It works fine
Schedule it thru cron
00 02 * * * /path/to/script/my_script.sh
not working properly.
I am doing this thru unix crontab and not thru datastage director.
I am able to do this when I run the script from $ prompt
$ my_script.sh
It works fine
Schedule it thru cron
00 02 * * * /path/to/script/my_script.sh
not working properly.
I am doing this thru unix crontab and not thru datastage director.
I didnt get you PaulPaulVL
Posted: Mon Jan 24, 2011 1:47 pm
--------------------------------------------------------------------------------
Did you source dsenv before executing the dsjob command?