PDA

View Full Version : Newdate


Stylewalker
02-20-2006, 12:18 PM
Hi @ll
i've got a problem with ioA and the newdate-option.

ioA:

[Newdate]
Newdate_0 = "mp3|some mp3 shit|e:\ioFTPD\site\mp3\%M%D|/MUSiC/%M%D|e:\ioftpd\site\today-mp3|0|0|0|1|777"
Newdate_1 = "mp3|some mp3 shit|e:\ioFTPD\site\mp3\%M%D|/MUSiC/%M%D|e:\ioftpd\site\yesterday-mp3|0|0|-1|0|755"
Newdate_Log = ""%vfs" "%area" "%desc" "%phys""

I've created those 2 folders in e:\ioFTPD\site\
Here's my admin and default file for mp3:

"e:\ioFTPD\site\root" /
"e:\ioFTPD\site\mp3" /MUSiC
"e:\ioFTPD\site\today-mp3" /MUSiC/___TODAY___
"e:\ioFTPD\site\yesterday-mp3" /MUSiC/___YESTERDAY___
"e:\ioFTPD\site\mp3-sort" /MUSiC/___SORTED___
"e:\ioFTPD\site\mp3-sort-gen" /MUSiC/___SORTED___/GENRE
"e:\ioFTPD\site\mp3-sort-yea" /MUSiC/___SORTED___/YEAR
"e:\ioFTPD\site\mp3-sort-art" /MUSiC/___SORTED___/ARTiST

and here's my ioFTPD.ini line after the schedule point:
Newday = 0 0 * * EXEC ..\scripts\ioA\ioA.exe NEWDATE

It doesn't create anything. Could someone please help me out with this prob?
Maybe there's a mistake in my ioA newdate config.

Thank you

zOrP
02-20-2006, 03:56 PM
u might wanna change it too

"e:\ioFTPD\site\root" /
"e:\ioFTPD\site\mp3" /MUSiC
"e:\ioFTPD\site\mp3-sort" /MUSiC/___SORTED___
"e:\ioFTPD\site\mp3-sort-gen" /MUSiC/___SORTED___/GENRE
"e:\ioFTPD\site\mp3-sort-yea" /MUSiC/___SORTED___/YEAR
"e:\ioFTPD\site\mp3-sort-art" /MUSiC/___SORTED___/ARTiST

[Newdate]
Newdate_0 = "mp3|some mp3 shit|e:\ioFTPD\site\mp3\%M%D|/MUSiC/%M%D|e:\ioftpd\site\root\___TODAY___|0|0|0|1|777"
Newdate_1 = "mp3|some mp3 shit|e:\ioFTPD\site\mp3\%M%D|/MUSiC/%M%D|e:\ioftpd\site\root\___YESTERDAY___|0|0|-1|0|755"
Newdate_Log = ""%vfs" "%area" "%desc" "%phys""


use
site newdate
for testing...

Stylewalker
02-20-2006, 04:40 PM
Hi
thank you
worx fine :)
hope it'll create a new folder in a couple of minutes :D

greetz

intel
02-26-2006, 08:06 PM
Maybe you could help me out as well. If I run the site newdate the today and yesterday links get created but when I click on them it says no such dir or file.
This is my default.vfs:
"c:/ioFTPD/site/" /
"P:/GAMES" /GAMES
"P:/APPS" /APPS
"P:/MP3S" /MP3S
"P:/DIVX" /DIVX
I want the TODAY and YESTERDAY links under MP3 dir.

My iOA looks like:
[Newdate]
Newdate_0 = "mp3|some mp3 shit|P:\MP3S\%M%D|/MP3/%M%D|P:\MP3S\TODAY|0|0|0|1|777"
Newdate_1 = "mp3|some mp3 shit|P:\MP3S\%M%D|/MP3/%M%D|P:\MP3S\YESTERDAY|0|0|-1|0|755"
Newdate_Log = ""%vfs" "%area" "%desc" "%phys""

TIA

Harm
02-26-2006, 08:14 PM
You forgot a character.

Newdate_0 = "mp3|some mp3 shit|P:\MP3S\%M%D|/MP3S/%M%D|P:\MP3S\TODAY|0|0|0|1|777"
Newdate_1 = "mp3|some mp3 shit|P:\MP3S\%M%D|/MP3S/%M%D|P:\MP3S\YESTERDAY|0|0|-1|0|755"

intel
02-26-2006, 09:08 PM
Thanks.. works after I did site newdate. Hopefully tomorrow it will do it on its own.

intel
02-27-2006, 07:00 PM
Did not autocreate the new date. If I do site new then it works.

TIA

WarC
02-28-2006, 11:33 AM
if working from sitecommand it can only be one thing... scheduler. make sure it is triggered at correct time. in debuglog there is a bit of guide when you run it on how your scheduler should be set. It prints the localtime and UTC time there to compare

Lormen
03-02-2006, 07:27 PM
im having the same problem

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

theres my ioFTPD.ini line

Use_Local_Time_Instead_of_UTC = 1

theres my ioA line

the FTP is in a GMT +1 environment

wat is wrong?

site newdate works perfectly and works as of 23:51pm so i dont get it :confused: :confused: :confused:

Stylewalker
03-03-2006, 01:18 PM
Hi
it has to be like this:

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

greetz