Old 11-12-2003, 05:21 AM   #1
Cybernoob
Junior Member
ioFTPD Foundation User
 
Join Date: Nov 2003
Posts: 12
Default NEWDAY problem

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:
but nothing happen 2 days left nothing
Cybernoob is offline   Reply With Quote
Old 11-12-2003, 05:36 AM   #2
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

ioFTPD uses UTC time.

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

Code:
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:

Code:
Use_Locale_Time_Instead_of_UTC=1
Harm is offline   Reply With Quote
Old 11-12-2003, 05:46 AM   #3
Cybernoob
Junior Member
ioFTPD Foundation User
 
Join Date: Nov 2003
Posts: 12
Default Tx so far

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 ....
Cybernoob is offline   Reply With Quote
Old 11-12-2003, 05:57 AM   #4
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

Here is the scheduler format:

Code:
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.
Harm is offline   Reply With Quote
Old 01-13-2004, 07:31 AM   #5
Xn3t
Member
 
Join Date: Dec 2003
Posts: 50
Default

Which the UTC for spain? somebody knows it? thank u very much!
Xn3t is offline   Reply With Quote
Old 01-13-2004, 08:19 AM   #6
bounty
Senior Member
ioFTPD Scripter
 
Join Date: Aug 2002
Posts: 529
Default

Quote:
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
bounty is offline   Reply With Quote
Reply

Tags
happen, newdate, newday, site, work

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
Flash hangs during transfers slatts General Discussion 5 01-14-2005 07:50 PM


All times are GMT -5. The time now is 01:22 PM.

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