Go Back   FlashFXP Forums > > > >

StarDog's scripts ioZS, newday

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-11-2004, 03:10 AM   #1
nexxai
Junior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Feb 2004
Posts: 11
Default ioZS + NewDay = Make nexxai lose hair.

Alright, I've been trying to get this thing set up for almost a week now. All I want to do is make ioZS make the NewDay dirs at midnight local time, however it seems to like laughing in my face and pissing on my new shoes, because it refuses to do anything but not work.

My timezone: North America CST (GMT -6:00 - according to The Time/Date Properties Control Panel in Windows; yes I have it selected accordingly)

Now what I need to know is:
1) What do I set the scheduler entry to?
0 6 * *
0 -18 * *
0 -6 * *
0 18 * *

2) What do I set the TIMEOFFSET to in ioZS?

Now because these two are so closely related, please do NOT respond unless you can help me with both entries.

Thanks a bunch.
nexxai is offline   Reply With Quote
Old 02-11-2004, 03:26 AM   #2
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

1) Since your timezone is GMT-6, you have to use:
0 6 * *
in your scheduler line for ioZS newday to call it at midnight localtime.

2) From ioZS readme:
"ioFTPD's scheduler is based on UTC time. If you wish to have ioNewDay run
at UTC time 00:00, and you are not in UTC timezone, then you can set the
TIMEOFFSET= option in the ini to make ioNewDay calculate the proper day.
ioNewDay is based on localtime."
Harm is offline   Reply With Quote
Old 02-11-2004, 06:26 AM   #3
nexxai
Junior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Feb 2004
Posts: 11
Default

So if I'm reading that correctly, Scheduler should be "0 6 * *" and TIMEOFFSET should be 0?

[EDIT] Yup, that's what it should be.
nexxai is offline   Reply With Quote
Old 02-11-2004, 12:47 PM   #4
Stardog
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Oct 2001
Posts: 236
Default

The TIMEOFFSET was for those that wanted to create the dated folders at midnight UTC, (scheduler set to 0 0), but their localtime was NOT UTC.
Stardog is offline   Reply With Quote
Reply

Tags
iozs, make, newday, scheduler, set

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 08:16 AM.

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