View Single Post
Old 02-19-2013, 05:46 AM  
MONGi
Member
 
Join Date: May 2012
Posts: 71
Default Problems with "closedate" of NX-Tools

Hello again to another thread

I`m using ioFTPD-v7.7.3 + ioNiNJA.1.0.Beta4.2012-10-02 + nxTools-v1.2.1 + nxAutoNuke-v2.5.1, but it is already known.

The problem is at this time nxTools.
Newdate section work, it will create new folders.
Close Date does not work, existing folders are not deleted.

My nxTools settings (for testing):
set newdate(Default) {
{__TEMPORARY {New __TEMPORARY} {/__TEMPORARY/%M.%D} {D:/_TEMPORARY/%M.%D} {D:/_TEMPORARY/Today-TEMPORARY} True 0 0 0 777}
{__TEMPORARY {Close __TEMPORARY} {/__TEMPORARY/%M.%D} {D:/_TEMPORARY/%M.%D} {D:/_TEMPORARY/Yesterday-TEMPORARY} False -1 0 0 555}
}
#
# - Rather then closing the previous date directories at the same time as creating the next days,
# you can schedule a separate newdate area to close the directories at a later time.
# - Scheduler: nxCloseDate = 0 1 * * TCL ..\scripts\nxTools\nxUtilities.tcl NEWDATE CloseDate
#
set newdate(CloseDate) {
{__TEMPORARY {Close __TEMPORARY} {/__TEMPORARY/%M.%D} {D:/_TEMPORARY/%M.%D} {D:/_TEMPORARY/Yesterday-TEMPORARY} False -1 0 0 555}
}

My ioFTPD settings (scheduler):
#The newdate even creates dated directories and/or today symlinks. You can
#also specify the date area with a parameter, if you want to trigger a specific
#area. Refer to the configuration file (nxTools.cfg) for more details on this.
nxNewDate = 0 23 * * TCL ..\scripts\nxTools\nxUtilities.tcl NEWDATE

# - Rather then closing the previous date directories at the same time as creating the next days,
# you can schedule a separate newdate area to close the directories at a later time.
nxCloseDate = 0 23 * * TCL ..\scripts\nxTools\nxUtilities.tcl NEWDATE CloseDate

What have I missed or done wrong?
There is no error generated in the log.

Greetings,
Mongi

Last edited by MONGi; 02-19-2013 at 05:52 AM.
MONGi is offline   Reply With Quote