Go Back   FlashFXP Forums > > > >

WarC's scripts ioA, Warchive, ZR-Tools

Reply
 
Thread Tools Rate Thread Display Modes
Old 01-26-2006, 07:03 PM   #1
Killahbyte
Junior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: May 2005
Posts: 17
Thumbs up Need a little bit of help...

This is in regards to the new date function. And when my days end. My days are ending an hour too late. Is there any way i can set my date end back 1 hour?

As for my site new date command, it seems to do it a full day late. I dont understand... I'd like it to make anew folder a few minutes before the day ends but it doesn't do it anywhere even close.

Can someone help point me in the right direction?

I have this for schedualed tasks:

Newday = 0 23 * * EXEC ..\scripts\ioA\ioA.exe NEWDATE

And my IOA config shows:

Use_Local_Time_Instead_of_UTC = 0


Any help to get this working right would be great!

Thanks in advance

KB
Killahbyte is offline   Reply With Quote
Old 01-26-2006, 07:11 PM   #2
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

Use_Local_Time_Instead_of_UTC = 1
Harm is offline   Reply With Quote
Old 01-26-2006, 09:06 PM   #3
Killahbyte
Junior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: May 2005
Posts: 17
Default

thats all it is? That will fix it all?
Killahbyte is offline   Reply With Quote
Old 01-27-2006, 03:34 AM   #4
Killahbyte
Junior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: May 2005
Posts: 17
Default

I've changed this setting. We'll see if it actually did help tomorrow

Thanks!

KB
Killahbyte is offline   Reply With Quote
Old 01-27-2006, 10:03 PM   #5
Killahbyte
Junior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: May 2005
Posts: 17
Default

No this did not fix my problem. And now my site newdate does not work properly. It keeps making dates for yesterday..

KB
Killahbyte is offline   Reply With Quote
Old 01-28-2006, 03:54 AM   #6
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

What timezone are you in ?
Harm is offline   Reply With Quote
Old 01-28-2006, 01:05 PM   #7
Killahbyte
Junior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: May 2005
Posts: 17
Default

GMT (-07:00) Mountain time

KB
Killahbyte is offline   Reply With Quote
Old 01-28-2006, 01:29 PM   #8
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

ioFTPD's scheduler is using UTC. So, if you want to trigger newdate at midnight mountain time, you'll have to change your settings a bit.

in ioFTPD.ini
Newday = 5 7 * * EXEC ..\scripts\ioA\ioA.exe NEWDATE

and in ioA.cfg
Use_Local_Time_Instead_of_UTC = 1

7:05 UTC is 00:05 GMT-7 (unless I made a mistake with dst). I've added 5 minutes to be sure it's not called a few seconds before the day starts.
Make sure your clock and timezone are correctly set to GMT-7 and the corresponding time.
Harm is offline   Reply With Quote
Reply

Tags
date, day, days, hour, late

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


All times are GMT -5. The time now is 11:19 PM.

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