PDA

View Full Version : Newdate again, pls help


JazzMatazz
03-24-2007, 02:16 AM
Hello,

ive successfully installed ioftpd , iobanana and ioa

My problem now is, that newdate doesnt start at the set time, and manually starting it, creates new day dirs, but doesnt change the today links.

My folders:
c:\ioftpd\site
c:\ioftpd\scripts\ioA
c:\ioftpd\site\MP3-today
c:\ioftpd\site\MP3-yesterday
e:\MP3\

ioA.cfg:

Use_Local_Time_Instead_of_UTC = 1

Newdate_0 = "MP3|MP3 Newdate|E:\MP3\%M%D|/MP3/%M%D|c:\ioftpd\site\MP3-today|0|0|0|1|777"
Newdate_1 = "MP3|MP3 Newdate|E:\MP3\%M%D|/MP3/%M%D|c:\ioftpd\site\MP3-yesterday|0|0|-1|0|755"

---------

ioFTPD.ini

Newday = 01 00 * * EXEC ..\scripts\ioA\ioA.exe NEWDATE

---------

My ioA.debug says it it worked today
03-24-2007 00:33:55 NEWDATE - ioA Version: 2.0.8
03-24-2007 00:33:55 NEWDATE - UTC time now: 03232007-23:33:55
03-24-2007 00:33:55 NEWDATE - Local time now: 03232007-23:33:55
03-24-2007 00:33:55 NEWDATE - Created physical path: E:\MP3\0324
03-24-2007 00:33:55 NEWDATE - Setting permissions for: E:\MP3\0324 to 777
03-24-2007 00:33:55 NEWDATE - Creating symlink
03-24-2007 00:33:55 NEWDATE - Logged: "/MP3/0324" "MP3" "somemp3shit" "E:\MP3\0324"
03-24-2007 00:33:55 NEWDATE - Created physical path: E:\MP3\0323
03-24-2007 00:33:55 NEWDATE - Setting permissions for: E:\MP3\0323 to 755
03-24-2007 00:33:55 NEWDATE - Creating symlink
03-24-2007 00:33:55 NEWDATE - Time to run command: 32ms

(it was called "somemp3shit") before.And was sett to "33".

But when i enter the MP3-today on the site, the mp3-today still forwards me to the old date.

Does anyone have any hints for me?

Thanks in advance,
regards,
Jazz

FTPServerTools
03-24-2007, 05:37 AM
it is still cached I think. I dont know warc's tools. But if it still is in the cache you can use iorecache to clean up the cache on that dir.

JazzMatazz
03-26-2007, 04:54 AM
thanks for your answer, but unfortunately it didnt work.
i tried your newday.exe but it didnt work either.

edit:
I just noticed, that your presumtion was right.
Newdate works, but somehow i always have to restart the ioftpd, before it changes the symlink. recaching doesnt help.

Does anyone know what to do with this info?
kind regards,
Jazz