Hi All,
I have a script to run a datastage job --/etlstg/Ageing/scripts/crontest.sh
with contents : -
#!/sbin/ksh
. /dshome/Ascential/DataStage/DSEngine/dsenv
dsjob -run -wait -mode RESET MIS db2test
dsjob -run -warn 1000 -jobstatus -wait -mode NORMAL MIS db2test
When I am running it through the command line sh /etlstg/Ageing/scripts/crontest.sh
Its running perfectly...
But When I am scheduling it through crontab -e its not running:-
02 10 * * * sh -x /etlstg/Ageing/scripts/crontest.sh
and any other simple UNIX script is runing perfectly through crontab.
Thanks in advance ... I need some help urgently
Strange problem with crontab scheduling....
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 132
- Joined: Tue Sep 04, 2007 11:38 am
- Location: NOIDA