General discussion

Locked

AT command not running a batch file for

By Nick Duce ·
Hello,

If you think you seen this question before from me then you'd be right. I still cannot fix the problem with the AT command not running the backup batch file.

I have now noticed when I reboot the server it runs, so this has been the approachtaken recently.

Unfortunatly I am not always on site and have some forgetfull colleagues, so as a solution it's pretty useless.

I have noticed that when the server is left and not rebooted the AT command tries to run but it does not get past the stage of putting CMD.exe in a queue.

This happens every night that it is not rebooted and I cen get several CMD.exe's in processes window.

Something seems to be corrupted in some way or another and this causes me some problems. I can guarantee thatthe night that the server is not rebooted is the night that I will need something from the day before.

Any help would be gratefully recieved.

Thanks Nick

This conversation is currently closed to new comments.

11 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

AT command not running a batch file for

by blumensteinm In reply to AT command not running a ...

Are you getting the "Invalid Drive Specification"? If so, it may be that the scheduler service is running under a different user ID, and probably
doesn't have the drives mapped from the batch file. Try to use UNCs to
avoid this...

Collapse -

AT command not running a batch file for

by Nick Duce In reply to AT command not running a ...

The question was auto-closed by TechRepublic

Collapse -

AT command not running a batch file for

by MRshawng In reply to AT command not running a ...

Firs off, it sounds like the batch files are getting stuck, and waiting for some user input or some sort of interaction. If you don't set the "Interactive" option, you will not be able to see what's going on. So, I would suggest that you use redirection and redirect the ouput of each command in your batch file into a logfile, so you can better see whats going on.

Remember, such things as drive mappings and user varables only exist when you are logged on, if nobody is logged drive mappings donot existnor do user variables such as %TEMP%, etc. To overcome this you would need to use UNC pathnames or map the drives as part of the batch file; and set the variables as well.

Also very important is the account that is used for the Schedule Service. If you use the "System" accnt, you will have only access to the local machine. Using a Domain Admin accnt will give you access to other machines on the network, provided those permissions are in place.

But I would definitely log the output of the commands in

Collapse -

AT command not running a batch file for

by Nick Duce In reply to AT command not running a ...

The question was auto-closed by TechRepublic

Collapse -

AT command not running a batch file for

by mkelley In reply to AT command not running a ...

This may not help you, but try using the winat utility from the resource kit. It is easier to make sure your AT jobs are set up correctly and are going to do what you want.

Collapse -

AT command not running a batch file for

by Nick Duce In reply to AT command not running a ...

The question was auto-closed by TechRepublic

Collapse -

AT command not running a batch file for

by kjell inge In reply to AT command not running a ...

The schedule service is a little bit unstable. Instead of restarting the server you should try "stoping and restarting" the schedule service (it controles the AT-jobbs). We have to do this rather often on one of our NT 4.0 sp3 servers. Starting and stoping services can be done through the servermanager, so you dont have to visit the site :-)

Collapse -

AT command not running a batch file for

by Nick Duce In reply to AT command not running a ...

The question was auto-closed by TechRepublic

Collapse -

AT command not running a batch file for

by paul_beauvais In reply to AT command not running a ...

I have found that the AT command runs best from a remote location...make sure the scudual service is started and I would also suggest the NT resource kit tool "WINAT" this will turn this proccess into a GUI and make schudualing several jobs on remote computers very easy...also it puts everything into a very managable View.

Collapse -

AT command not running a batch file for

by Nick Duce In reply to AT command not running a ...

The question was auto-closed by TechRepublic

Back to Windows Forum
11 total posts (Page 1 of 2)   01 | 02   Next

Operating Systems Forums