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.
-
NewzUK
- Master
- Posts: 200
- Joined: Mon Nov 18, 2002 3:10 am
- Location: Auckland, New Zealand
-
Contact:
Post
by NewzUK »
Hi there
Is there a shorter way to make this timer run at 00, 15, 30 & 45 past the hour than this:
bind time - "00 * * * *"
bind time - "15 * * * *"
bind time - "30 * * * *"
bind time - "45 * * * *"
Thanks in advance...
-
demond
- Revered One
- Posts: 3073
- Joined: Sat Jun 12, 2004 9:58 am
- Location: San Francisco, CA
-
Contact:
Post
by demond »
Code: Select all
bind time - * foo
proc foo {m h d mo y} {
if {$m} {set m [string trimleft $m 0]}
if {$m % 15 == 0} {
# your stuff here
}
}
-
NewzUK
- Master
- Posts: 200
- Joined: Mon Nov 18, 2002 3:10 am
- Location: Auckland, New Zealand
-
Contact:
Post
by NewzUK »
thanks demond - will give that a go...