14. februar 2002 - 18:31Der er
8 kommentarer og 1 løsning
Schedule via bat-fil
Jeg mener at have læst, at man kan oprette en opgave i Windows egen schedule med en kommando, som jeg mener hedder et eller andet med 'an'. Men hvordan gør man og hvad hedder komandoen helt rigtig?
Med version 7 af TeamShare tager Lector næste skridt og bygger en platform for AI-agenter, der i højere grad kan følge medarbejderen gennem hele arbejdsprocessen.
At Lists scheduled commands or 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
Parameters
none
Used without parameters, at lists scheduled commands.
\\computername
Specifies a remote computer. If this parameter is omitted, the commands are scheduled on the local computer.
id
Specifie the 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
Forces a yes answer to all queries from the system when deleting scheduled events.
time
Specifies the time when the command is to run. Time is expressed as hours:minutes in 24-hour notation (00:00 [midnight] through 23:59).
/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 every specified day or days of the week or month (for example, every Thursday, or the third day of every month). Specify date as one or more days of the week (M,T,W,Th,F,S,Su) or one or more days of the month (using numbers 1 through 31). Separate multiple date entries with commas. 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). Specify date as one or more days of the week (M,T,W,Th,F,S,Su) or one or more days of the month (using numbers 1 through 31). Separate multiple date entries with commas. If date is omitted, the current day of the month is assumed.
command
Specifies the Windows 2000 command, program (.exe or .com file), or batch program (.bat or .cmd file) to be run. When the command requires a path as an argument, use the absolute path, that is, the entire path beginning with the drive letter. If the command is on a remote computer, specify UNC notation for the server and share name, rather than a remote drive letter. If the command is not an executable (.exe) file, you must precede the command with cmd /c; for example:
AT bruges da kun hvis man har "den gamle schedule" (mener den hedder "Scheduler", hvor den anden hedder "Scheduled tasks") eller hva' ? Hvis det bare er en bat-fil, der skal eksekveres fra "Scheduled Tasks, er der ikke det store problem, men hvis det er den anden, er det rigtig nok med "at" kommandoen.
snowball kom med det, som jeg søgte, nemlig at kommendoen hed 'at' og så hvordan man skulle bruge den. Resten skal jeg nok finde ud af. Så snowball læg et svar for at få pointene
Det er også svært at vide hvilket niveau man skal svare folk på her.
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.