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.

Executing a command every 5 minutes

Old posts that have not been replied to for several years.
Locked
M
Mithrandiir42

Post by Mithrandiir42 »

I think this is a really simple question but i've been messing with it for a while and havn't been able to figure out how to get my script to execute something every 5 minutes.
I've been using

bind time - "5 * * * *" test

so this should run test every 5 mins.. for some reason it only seems to do it every hour or so.

any help would be greatly appreciated.
Thanks

-Mith
C
ClubCX
Voice
Posts: 35
Joined: Mon Nov 19, 2001 8:00 pm
Location: Bournemouth, UK
Contact:

Post by ClubCX »

That is being interpreted as 5 past every hour.

Try:
bind time - "*5 * * * *" test
bind time - "*0 * * * *" test

- Tom
M
Mithrandiir42

Post by Mithrandiir42 »

Thanks a lot. that got it working.
Locked