fix the task registration, should be using 'sqlcmd'