miku 0 Posted May 6, 2001 Hi Guys, Anyone of you know how to set the at command. When i use it sets the task but the task does not come up. I have been trying but the problem I guess is that I can seem to give it the password. Any suggestions. ARC Share this post Link to post
Guest Posted May 6, 2001 I am unfamiliar with the "AT" command. What is it? Share this post Link to post
clutch 1 Posted May 6, 2001 I have always used the command scheduler with the NT Server Resource Kit. It works pretty well, and has a simple interface. Plus, you can connect to any machine on your network. Share this post Link to post
miku 0 Posted May 6, 2001 Well clutch, Can you tell me this? How can we program task schedular.. Is there a way it could read input from a text file containing a table of date and time for a file to run. I want to implement this. Can this be done? ARC Share this post Link to post
nagual 0 Posted May 6, 2001 ever thought of trying at /? ? =) The AT command schedules commands and programs to run on a computer at a specified time and date. The Schedule service must be running to use the AT command. AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]] AT [\\computername] time [/iNTERACTIVE] [ /EVERY:date[,...] | /NEXT:date[,...]] "command" \\computername Specifies a remote computer. Commands are scheduled on the local computer if this parameter is omitted. id Is an identification number assigned to a scheduled command. /delete Cancels a scheduled command. If id is omitted, all the scheduled commands on the computer are canceled. /yes Used with cancel all jobs command when no further confirmation is desired. time Specifies the time when command is to run. /interactive Allows the job to interact with the desktop of the user who is logged on at the time the job runs. /every:date[,...] Runs the command on each specified day(s) of the week or month. If date is omitted, the current day of the month is assumed. /next:date[,...] Runs the specified command on the next occurrence of the day (for example, next Thursday). If date is omitted, the current day of the month is assumed. "command" Is the Windows NT command, or batch program to be run. Share this post Link to post
clutch 1 Posted May 6, 2001 Doesn't seem to cover the "Is there a way it could read input from a text file containing a table of date and time for a file to run" portion though, does it? Share this post Link to post
clutch 1 Posted May 7, 2001 You can schedule a batch file, or you can schedule a list of functions that happen after each other. I have a "deltree.bat" file that deletes and recreates a folder every Friday at 6:30PM. It's a directory that people can copy files over to for sharing. But, since most people can't be responsible enough for deleting their own files I have this job setup to run so the folder doesn't get too huge. Share this post Link to post
miku 0 Posted May 7, 2001 Still, I am not clear about that.. Please brief.. Lets say I have this table in a file called table.txt May 01 12:35 15:35 20:35 May 02 12:38 18:35 21:35 ... .. ..... ..... ..... ... .. ..... ..... ..... ... .. ..... ..... ..... Apr 01 12:35 15:35 20:35 ... .. ..... ..... ..... ... .. ..... ..... ..... And So On. Now I have one file to run at those dates and time... What possible thing can I do to schedule them. Thanks Share this post Link to post
clutch 1 Posted May 7, 2001 No, I don't know if that can be done, let alone how to do that. Sorry bud. Share this post Link to post