PDA

View Full Version : NEWDAY problem


Cybernoob
11-12-2003, 05:21 AM
When I set my timezone for Germany +1 so nothing happen on newday no new dated folder...when i enter the site command site newdate everything work only the shuedeled thing dont work anyone has a cloue about it?I set it in ioFTPD
NEWDATE = 0 0 * * EXEC ..\scripts\ioA.exe NEWDATE [wrong key used]:banana: :D
but nothing happen 2 days left nothing

Harm
11-12-2003, 05:36 AM
ioFTPD uses UTC time.

Since Germany is UTC+1 at the moment, you should use:


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

Note: use windows paths (with \) in the scheduler.

Then, you might want to use localtime instead of UTC to create dated dirs. Use the following option in ioA.cfg:


Use_Locale_Time_Instead_of_UTC=1

Cybernoob
11-12-2003, 05:46 AM
I want to use UTC is standard what i to do change
Now its so:
[ioFTPD.ini]
-Schedule

NEWDATE= 0 23 (as u sugguested) * * EXEC ...

UTC is used now it should create a new dir on 0:00 German time
Right?
and when i use Local time it musst be
-Schedule
NEWDATE=0 24 * * EXEC?

for what stands the first 0 for? NEWDATE= 0 23 EXEC ....

Harm
11-12-2003, 05:57 AM
Here is the scheduler format:


Event = <minutes> <hours> <day of month> <day of week> Command


You can't use localtime within ioFTPD. But ioA can use localtime to calculate the date for dated dirs.

Xn3t
01-13-2004, 07:31 AM
Which the UTC for spain? somebody knows it? thank u very much!

bounty
01-13-2004, 08:19 AM
Originally posted by Xn3t
Which the UTC for spain? somebody knows it? thank u very much!

what's the question m8 ??
UTC is UTC it doesn't matter where you are located