Credit card import

Hi, I have a problem with importing customer credit card. I am using VI Import Maintenance to import data to sage via ODBC. My problem is when I run the credit card import job manually by clicking the cmd file or by running the import job from the visual integrator import job maintenance it will successfully import credit card details and proceeded to the chained import job. However,when I run the cmd file via windows task scheduler the credit card import fails and I noticed in the Masters Console, the credit card import job stays there and did not exit or proceed to the next chained job.