Suggestions Got a new idea or addition which would benefit IOFTPD? Post it here! |
10-06-2003, 02:34 PM
|
#1
|
Member
FlashFXP Registered User
Join Date: Feb 2003
Posts: 64
|
ioFTPd Scheduler
Wouldn't it be nice if this worked:
Code:
*/5 * * * EXEC ..\scripts\blaha.exe
instead of having to write:
Code:
0 5 10 15 20 25 30 35 40 45 50 55 * * * EXEC ..\scripts\blaha.exe
Just a thought.
|
|
|
10-06-2003, 02:53 PM
|
#2
|
Posse Member
Ultimate Scripter ioFTPD Administrator
Join Date: Dec 2002
Posts: 1,956
|
use comas, or it won't work.
0,5,10,15...
it takes *seconds* to write all those down...
it would take more than the sum of all *seconds* we waste writing those for dark0n3 to program such a thing.
|
|
|
10-06-2003, 03:09 PM
|
#3
|
Member
FlashFXP Registered User
Join Date: Feb 2003
Posts: 64
|
Quote:
Originally posted by Mouton
use comas, or it won't work.
0,5,10,15...
it takes *seconds* to write all those down...
it would take more than the sum of all *seconds* we waste writing those for dark0n3 to program such a thing.
|
The commas wasn't the point, as I'm sure you understood. Time is also not of the essence here. I was writing down a thought, bare with me.
|
|
|
10-06-2003, 03:13 PM
|
#4
|
Senior Member
FlashFXP Beta Tester ioFTPD Scripter
Join Date: Aug 2003
Posts: 517
|
I have to agree with mouton... it's not like u need to edit your sheduler lines every week.
All needed functionality is provided.
|
|
|
10-06-2003, 03:17 PM
|
#5
|
Member
FlashFXP Registered User
Join Date: Feb 2003
Posts: 64
|
Quote:
Originally posted by ADDiCT
I have to agree with mouton... it's not like u need to edit your sheduler lines every week.
All needed functionality is provided.
|
Baah! If people like you ruled the world, we should still live in caves! There is something that goes beyond functionality, it's called perfection! Meanwhile, my poor schedule line gets so long.. so stretched thin, I feel it might break.
|
|
|
10-06-2003, 03:43 PM
|
#6
|
Disabled
FlashFXP Registered User ioFTPD Administrator
Join Date: Dec 2001
Posts: 2,230
|
I guess that I could add support for */x options.. however i'm not exactly sure how ie. linux handles */13 (60 isn't dividable by 13)
|
|
|
10-06-2003, 05:07 PM
|
#7
|
Senior Member
Join Date: Jan 2003
Posts: 231
|
linux? you porting it to linux aswell
|
|
|
10-06-2003, 05:20 PM
|
#8
|
Disabled
FlashFXP Registered User ioFTPD Administrator
Join Date: Dec 2001
Posts: 2,230
|
No.. i'm just trying to keep it similar to unix/linux crontab
|
|
|
10-06-2003, 06:52 PM
|
#9
|
Member
Join Date: Jan 2003
Posts: 91
|
Quote:
Originally posted by darkone
I guess that I could add support for */x options.. however i'm not exactly sure how ie. linux handles */13 (60 isn't dividable by 13)
|
Just round to nearest integer. For the above, scheduler fires at:
0, 13, 26, 39, 52.
Perfection is one thing but I'm sure there are more valid stuff higher prioritized on the TODO.
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:36 AM.
|