Go Back   FlashFXP Forums > > > >

NeoXed's scripts nxAutoNuke, nxTools, etc.

Reply
 
Thread Tools Rate Thread Display Modes
Old 12-13-2010, 01:55 AM   #1
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default

See if you run it manually via "site newdate" if it works fine...

Scheduler functions don't run under a user account and thus all the normal ioFTPD provided TCL variables aren't defined. nxTools solves this by activating a user account and loading a vfs file to resolve paths via the variables:
Code:
set misc(MountUser)     "sitebot"
set misc(MountFile)     "../etc/admin.vfs"
Change those to a valid user in nxTools.cfg and the problem should go away...
Yil is offline   Reply With Quote
Old 12-13-2010, 10:27 AM   #2
Saiph
Junior Member
 
Join Date: Oct 2010
Posts: 23
Default

Quote:
Originally Posted by Yil View Post
See if you run it manually via "site newdate" if it works fine...

Scheduler functions don't run under a user account and thus all the normal ioFTPD provided TCL variables aren't defined. nxTools solves this by activating a user account and loading a vfs file to resolve paths via the variables:
Code:
set misc(MountUser)     "sitebot"
set misc(MountFile)     "../etc/admin.vfs"
Change those to a valid user in nxTools.cfg and the problem should go away...
it works fine, sometimes it announces the newdate 2 times, creating the current and the new day.


irc announce
Quote:
[12:00 am] <*********> NEWDATE created for /O-DAY/1212
[12:00 am] <*********> NEWDATE created for /O-DAY/1213
Saiph is offline   Reply With Quote
Reply

Tags
000005, 12-12-2010, error, read, variable


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


All times are GMT -5. The time now is 02:24 AM.

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