Go Back   FlashFXP Forums > > > >

Suggestions Got a new idea or addition which would benefit IOFTPD? Post it here!

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-06-2003, 02:34 PM   #1
Bratell
Member
FlashFXP Registered User
 
Join Date: Feb 2003
Posts: 64
Smile 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.
Bratell is offline   Reply With Quote
Old 10-06-2003, 02:53 PM   #2
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Thumbs down

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.
Mouton is offline   Reply With Quote
Old 10-06-2003, 03:09 PM   #3
Bratell
Member
FlashFXP Registered User
 
Join Date: Feb 2003
Posts: 64
Default

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.
Bratell is offline   Reply With Quote
Old 10-06-2003, 03:13 PM   #4
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

I have to agree with mouton... it's not like u need to edit your sheduler lines every week.
All needed functionality is provided.
ADDiCT is offline   Reply With Quote
Old 10-06-2003, 03:17 PM   #5
Bratell
Member
FlashFXP Registered User
 
Join Date: Feb 2003
Posts: 64
Default

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.
Bratell is offline   Reply With Quote
Old 10-06-2003, 03:43 PM   #6
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

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)
darkone is offline   Reply With Quote
Old 10-06-2003, 05:07 PM   #7
Unique
Senior Member
 
Join Date: Jan 2003
Posts: 231
Default

linux? you porting it to linux aswell
Unique is offline   Reply With Quote
Old 10-06-2003, 05:20 PM   #8
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

No.. i'm just trying to keep it similar to unix/linux crontab
darkone is offline   Reply With Quote
Old 10-06-2003, 06:52 PM   #9
dasOp
Member
 
Join Date: Jan 2003
Posts: 91
Default

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.
dasOp is offline   Reply With Quote
Reply

Tags
exec, nice, scriptsblaha.exe, thought, write

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:20 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)