Page 1 of 1 1
Topic Options
#125676 - 2004-08-25 11:44 PM Scheduling a daily task, 30 days in the future
xpanmanx Offline
Starting to like KiXtart

Registered: 2002-07-08
Posts: 108
Loc: St. Louis MO USA
Greetings,

I need to create an interactive scheduled daily task, with a start date 30 days in the future. In other words, after thirty days the task runs every day. User interaction with the task is required.

SCHTASKS obviously supports all of the necessary parameters. The /SD argument, in particular, is a logical choice. However, dd/mm/yyyy notation is required, and I don't know how to do the maths to add 30 to the DD, and still accomodate end-of-month, end-of-year, and leap-year dates.

Can anyone help me, or suggest an alternate approach?

Thanks,

Tim ==

(PS: I deleted my previous post on this subject because my ramblings were incoherent. Hopefully I've done a better job this time.)

Top
#125677 - 2004-08-26 12:21 AM Re: Scheduling a daily task, 30 days in the future
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
there is date calc udf's available (see my siggy)
_________________________
!

download KiXnet

Top
#125678 - 2004-08-26 09:42 PM Re: Scheduling a daily task, 30 days in the future
xpanmanx Offline
Starting to like KiXtart

Registered: 2002-07-08
Posts: 108
Loc: St. Louis MO USA
I am loving you very much right now.

Thanks a zillion!

Top
#125679 - 2004-08-29 09:41 PM Re: Scheduling a daily task, 30 days in the future
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
And a ScheduleTask() UDF as well.
_________________________
There are two types of vessels, submarines and targets.

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
1 registered (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.056 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