PDA

View Full Version : Simple new event


FTPServerTools
12-08-2002, 07:14 PM
A suggestion from someone via mail to me, I think it belongs here...
How about puttin an OnEveryDay event in the events?

Well I though then how that was a nice idea. So my extension of his idea:
Why not an OnTime event that gets triggered on any time from a timer list?
The program would be simple. Just use a simple plain wildcard matcher and a seperate scheduler thread that runs the time trigger check once a minute.
E.g.:
Express time in YY-MM-DD WDAY HH:MM internally
Then the list could be:
Time1=02-??-???? ? 00:00 <- every new day in the year 2002
Time2=??-??-???? ? 00:?5 <- every 10 seconds
Time3=??-??-???? ? 00:?0 <- every 10 seconds
Time4=??-??-???? 0 00:00 <- monday
Time5=??-??-???? 1 18:00 <-tuesday at 18:00

etc.. This could be an easy extension and it would be very easy to run a cleanup task or something in there same as running a NewDay routine or whatever someone wants to run...
Just my extension of someone's suggestion..

Uncle_b
12-08-2002, 08:01 PM
got my vote. that would take care of the newday prob having 2 b ran manual in ioFTPD.

answers that question as well (was wondering if there was such an event...)

thnx again. (yer on fire today)

darkone
12-09-2002, 06:29 AM
I'll add the 'crontab' thread this week.. so no events will be needed for such

FTPServerTools
12-09-2002, 03:34 PM
Wow great.. :) You make me happy, and other probably too..

darkone
12-15-2002, 01:58 PM
Let's see if i can get this done today :)