PDA

View Full Version : Need a little bit of help...


Killahbyte
01-26-2006, 07:03 PM
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

Harm
01-26-2006, 07:11 PM
Use_Local_Time_Instead_of_UTC = 1

Killahbyte
01-26-2006, 09:06 PM
thats all it is? That will fix it all?

Killahbyte
01-27-2006, 03:34 AM
I've changed this setting. We'll see if it actually did help tomorrow :)

Thanks!

KB

Killahbyte
01-27-2006, 10:03 PM
No this did not fix my problem. And now my site newdate does not work properly. It keeps making dates for yesterday..

KB

Harm
01-28-2006, 03:54 AM
What timezone are you in ?

Killahbyte
01-28-2006, 01:05 PM
GMT (-07:00) Mountain time

KB

Harm
01-28-2006, 01:29 PM
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.