This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
-
BiLL
- Halfop
- Posts: 78
- Joined: Wed Sep 26, 2001 8:00 pm
- Location: Germany
Post
by BiLL »
Hi,
I got the cleanup.tcl from the TCL-Archive.
It deleted all users that hasnt been seen last 60days.
if {[lindex [getuser $hand LASTON] 0] < [expr [unixtime] -
5184000]} {
This is the line.
How can I set the unixtime so it checks last 30 or 40 days.
I dont know the number for that

.
Please help, thanks.
-
egghead
- Master
- Posts: 481
- Joined: Mon Oct 29, 2001 8:00 pm
-
Contact:
Post
by egghead »
BiLL wrote:Hi,
I got the cleanup.tcl from the TCL-Archive.
It deleted all users that hasnt been seen last 60days.
if {[lindex [getuser $hand LASTON] 0] < [expr [unixtime] -
5184000]} {
This is the line.
How can I set the unixtime so it checks last 30 or 40 days.
I dont know the number for that

.
Please help, thanks.
5184000 seconds... 5184000/60/60/24 = 60 days
It should not be that difficult to figure out how many seconds there are in 30 or 40 days.
-
BiLL
- Halfop
- Posts: 78
- Joined: Wed Sep 26, 2001 8:00 pm
- Location: Germany
Post
by BiLL »
Oh lol
I didnt notice that this number are seconds.
Else I wouldnt open topic for that.
Thanks.
Sorry
