[vb_ro] Re: Scheduled Task

"Scheduled Task" e "reliable" cel putin la editiile WrK Pro sau Server de 
Windows, de cate ori modifici ceva cu interfata insa, ar fi bine sa reintroduci 
parola (cu reconfirmare), se pare ca are un mic bug...
in rest e OK... Oricum pt a evita surprizele e bine sa iti asiguri ca ai 
feed-back daca un job s-a terminat OK sau cu eroare... precum si monitorizarea 
fisierului log, al serviciului... e o practica sanatoasa.

P.S. "Task Scheduler" ruleaza ca serviciu in Windows. Deci e in "inima" 
SO-ului... (Un singur serviciu pt n-taskuri, si nu n servicii instalate in SO 
pt n-taskuri...)

taskuri pot fi definite si cu comanda AT (mai usor de inclus in scripturi de 
deployment) dar nu ofera toate detaliile ca interfata grafica... 

H:\>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.



pt managementul programatic al Task Scheduler-ului se poate cauta aici:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/taskschd/taskschd/task_scheduler_start_page.asp




From: Ovidiu C.
Sent: Fri 13/02/2004 13:35
To: vb_ro@xxxxxxxxxxxxx
Subject: [vb_ro] Scheduled Task


[...]
> pornirea automata a aplicatiei la pornirea
> windowsului si/sau la log-in se mai poate face si
> prin intermediul lui Schedulled Task... doar ca
> idee...

Ca veni vorba de scheduled tasks: asta merge ok sau
doar e de joaca acolo? Ca eu am incercat sa pornesc
zilnic o aplicatie la o anumita ora cu un anumit
username & password. A mers prima data dar nu si pe
urma (mesaj de erore "Could not start application").
Am impresia ca "uita" de parola introdusa.
Pareri?

Ovidiu C.

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

Site: http://info.AdvanCode.com
Dezabonare: vb_ro-request@xxxxxxxxxxxxx cu "unsubscribe" la subiect.

Other related posts: