General discussion

  • Creator
    Topic
  • #2080264

    AT command not running a batch file for

    Locked

    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

All Comments

  • Author
    Replies
    • #3900986

      AT command not running a batch file for

      by blumensteinm ·

      In reply to AT command not running a batch file for

      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…

    • #3900985

      AT command not running a batch file for

      by mrshawng ·

      In reply to AT command not running a batch file for

      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

    • #3900983

      AT command not running a batch file for

      by mkelley ·

      In reply to AT command not running a batch file for

      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.

    • #3900964

      AT command not running a batch file for

      by kjell inge ·

      In reply to AT command not running a batch file for

      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 🙂

    • #3900772

      AT command not running a batch file for

      by paul_beauvais ·

      In reply to AT command not running a batch file for

      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.

    • #3793144

      AT command not running a batch file for

      by nick duce ·

      In reply to AT command not running a batch file for

      This question was auto closed due to inactivity

Viewing 5 reply threads