Page 1 of 1 1
Topic Options
#114148 - 2004-02-17 09:08 AM AT
attiahia Offline
Hey THIS is FUN

Registered: 2000-03-27
Posts: 268
In AT scheduling command I can specify when should the command run (date & time). For example, everyday at 8 AM; but I can not specify for how long should be executed\repeated (i.e run this command only for 20 days) . Is there any other command that can allow me to do so?

Thank you.

Top
#114149 - 2004-02-17 01:27 PM Re: AT
Tristam Offline
Fresh Scripter

Registered: 2004-02-17
Posts: 8
You could use AT to schedule TSKill.exe (W2K) or PSKill from sysinternals.com
Top
#114150 - 2004-02-17 01:50 PM Re: AT
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
The simplest way is to schedule another job to run in 20 days time to remove the first job using "AT /DELETE"
Top
#114151 - 2004-02-20 07:35 PM Re: AT
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4402
Loc: New Jersey
If you are using MSTask version of the scheduler, you can use ScheduleTask UDF or tcLib() UDFs to define the task start and end dates, as well as repeat info.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
#114152 - 2004-02-21 12:17 AM Re: AT
Co Offline
MM club member
***

Registered: 2000-11-20
Posts: 1342
Loc: NL
Attiahia, Glenn's proposal depends on the Task Scheduler...

Quote:


Appendix: How to Install Task Scheduler
a. Windows 98 and Windows 2000/XP:

Nothing to do ! The task scheduler is already preinstalled on your Windows system !

b. Windows 95

On Win 95 / NT the task scheduler is not preinstalled, but you can easily install Task Scheduler through Internet Explorer 4.0 or higher. To install Task Scheduler under Windows 95, proceed as if running Windows NT4 (see below). Note: Windows 95 Plus! contains a product called System Agent. This is not the same product.

c. Windows NT4 (SP3+)

Go to the Control Panel and select Add/Remove Programs. Select Microsoft Internet Explorer 4 or 5 from the list, and when a dialog prompt you for what to do, select Add a component. Depending on the current release of your browser (4 or 5), you will eventually be given a list of additional software
you may install (Note: this may take a long time!). With IE4 you should select Task Scheduler under Additional Explorer Enhancements. With IE5 select the Offline Browsing Pack. You can also go directly to <http://www.microsoft.com/windows/ie>. From here you can select all IE software releases and add-ons. We recommend you upgrade to IE5. We've had a lot of problems reported about upgrading IE4, you would probably be better off installing IE5 anyway (it's a much better
browser). Click Yes to restart your computer when prompted.

Remark: If you are a Netscape supporter, do not worry: It is not necessary to install the shell integration component or or use Internet Explorer as your your default browser for the task scheduler to work. The task scheduler is a (more or less) independent piece of software that just happened to be be distributed via the Internet Explorer packages.





Edited by Co (2004-02-21 12:21 AM)
_________________________
Co


Top
#114153 - 2004-02-21 12:20 AM Re: AT
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
must wonder what this tasksched stuff has to do with at though...
_________________________
!

download KiXnet

Top
#114154 - 2004-02-21 12:26 AM Re: AT
Co Offline
MM club member
***

Registered: 2000-11-20
Posts: 1342
Loc: NL
You can use JT instead of AT...

But I know another (large) thread..

Logoff all users

_________________________
Co


Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 837 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.059 seconds in which 0.029 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org