egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Howto make a script do anything every day,hour,month & y

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Gorgo
Voice


Joined: 29 May 2006
Posts: 3
Location: Helsingborg

PostPosted: Mon May 29, 2006 10:10 am    Post subject: Howto make a script do anything every day,hour,month & y Reply with quote

Hi, I working on a script that I whant to show how many hour , days , month and years a channel are. I whant to update the database every hour, that oart I know. please help me with this, give me sone hint to go on to the work, I'm stuck right now.
Back to top
View user's profile Send private message MSN Messenger
GeeX
Voice


Joined: 19 Sep 2005
Posts: 29

PostPosted: Mon May 29, 2006 10:49 am    Post subject: Reply with quote

Use:

Code:

bind time -|- {00 * * * *} update:proc


For further infos check your docs folder Wink
Back to top
View user's profile Send private message
Gorgo
Voice


Joined: 29 May 2006
Posts: 3
Location: Helsingborg

PostPosted: Mon May 29, 2006 10:54 am    Post subject: Reply with quote

GeeX wrote:
Use:

Code:

bind time -|- {00 * * * *} update:proc


For further infos check your docs folder Wink


That I know, then it will run the script every hour, but need to know how it can check witch month it is so it can update monght. same for year and hour also.
Back to top
View user's profile Send private message MSN Messenger
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon May 29, 2006 9:48 pm    Post subject: Reply with quote

Quote:
TIME (stackable)

bind time <flags> <mask> <proc>
proc-name <minute> <hour> <day> <month> <year>

Description: allows you to schedule procedure calls at certain times. mask matches 5 space separated integers of the form: "minute hour day month year". minute, hour, day, month have a zero padding so they are exactly two characters long; year is extended to four characters in the same way. flags are ignored.

The above may be a little more descriptive.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Gorgo
Voice


Joined: 29 May 2006
Posts: 3
Location: Helsingborg

PostPosted: Tue May 30, 2006 4:56 am    Post subject: Reply with quote

Alchera wrote:
Quote:
TIME (stackable)

bind time <flags> <mask> <proc>
proc-name <minute> <hour> <day> <month> <year>

Description: allows you to schedule procedure calls at certain times. mask matches 5 space separated integers of the form: "minute hour day month year". minute, hour, day, month have a zero padding so they are exactly two characters long; year is extended to four characters in the same way. flags are ignored.

The above may be a little more descriptive.


Thanks for that Smile
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber