Go Back   FlashFXP Forums > > > >

WarC's scripts ioA, Warchive, ZR-Tools

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-02-2004, 02:32 PM   #1
goldilow
Junior Member
 
Join Date: Sep 2004
Posts: 2
Default ioA Newday Problems

I have the newday fuction up and working great, the only problem i have with it, is the time that it creates the new day dir's.. I want to make them create around 1am localtime but they create at 6:01am local time. Here are my settings, any help would be greatly appreciated.


[ ioA.cfg ]

Use_Local_Time_Instead_of_UTC = 1

[Newdate]
Newdate_0 = "np3|MP3 TODAY|D:\shit\mp3\%M%D|/MP3/%M%D|d:\ftp\TODAY-MP3|0|0|0|1|777"
Newdate_1 = "mp3|MP3 YESTERDAY|D:\shit\mp3\%M%D|/MP3/%M%D|d:\ftp\YESTERDAY-MP3|0|0|-1|0|777"
Newdate_Log = ""%area" "%vfs" "%desc" "%phys""

[ioftpd.ini]

Newday = 1 22 * * EXEC D:\ioFTPD\scripts\ioA\ioA.exe NEWDATE

[ioA.debug]

10-01-2004 18:01:15 ioA - 1.2.0
10-01-2004 18:01:15 NEWDATE - UTC time now: 10012004-22:01:15
10-01-2004 18:01:15 NEWDATE - Local time now: 10012004-18:01:15
10-01-2004 18:01:15 NEWDATE - !vfs:chattr 1 "d:\ftp\TODAY-MP3" "/MP3/1001"
10-01-2004 18:01:15 NEWDATE - Logged: "np3" "/MP3/1001" "MP3 TODAY" "D:\shit\mp3\1001"
10-01-2004 18:01:15 NEWDATE - UTC time now: 10012004-22:01:15
10-01-2004 18:01:15 NEWDATE - Local time now: 10012004-18:01:15
10-01-2004 18:01:15 NEWDATE - !vfs:chattr 1 "d:\ftp\YESTERDAY-MP3" "/MP3/0930"
10-01-2004 18:01:15 BENCHMARK - Time to run command: NEWDATE was 140ms

[END]
goldilow is offline   Reply With Quote
Old 10-02-2004, 03:18 PM   #2
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

18:01 for me is pm, dunno if I was tought wrong in school

Therefore I dunno if you want to make it 01am (ie in the middle of the night) or 01pm (ie during daytime).

Looks like 4 hours difference between utc and localtime.
If in the middle of the night adjust your scheduler to fit:
NewDay = 1 04 * *

If in the middle of the day:
NewDay = 1 16 * *


If any other way. just use your head and do some math. You got when its run it utc and you see your localtime. just adjust when its supposed to be run.
WarC is offline   Reply With Quote
Reply

Tags
10-01-2004, 180115, newdate, newday, time

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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FlashFXP limitation to ~410 kb/s ??? Mouhamed General Discussion 13 12-30-2004 11:00 AM


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

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