Re: Cant Schedule a dbexport on NT
Posted in 1997
} I want to do a dbexport every night on my NT server. Ive written a
program
} (dumpit.exe) which does this just fine when I run it manually from the
Command
} Line Utilities. However, when I attemt to put it in my scheduler,
nothing
} happens.
}
} Ive started my scheduler (Control Panel/Services) and have used the 'at'
} command to schedule dumpit.exe to occur. Ive written a 2 line .bat file:
}
} c:\\winnt\\system32\\cmd.exe /k c:\\informix\\bin\\setenv.cmd
I think here is problem, beacuse this line
try replace it by:
c:\\informix\\bin\\setenv.cmd
or
call c:\\informix\\bin\\setenv.cmd
} c:\\unload\\dumpit.exe <dbname1 dbname2 etc>
}
} I then run the following:
}
} at 00:00 "cmd /c dumpit.bat".
}
} Unfortunately, it doesnt seem to work.
}
} Any suggestions?
ado