This shows you the differences between the selected revision and the current version of the page.
topics:cron.txt 2009/01/04 23:10 | topics:cron.txt 2009/02/05 01:48 current | ||
---|---|---|---|
Line 1: | Line 1: | ||
<code> | <code> | ||
# | # | ||
- | # In der cron.txt kannst Du aktionen definieren, der der Bot in bestimmten Abständen | + | # The cron.txt allows you to define actions that are executed by the bot in cirtain intervalls. |
- | # automatisch ausführen soll. Das Format hierzu ist <sekunden>TAB<befehl> | + | # The format is |
+ | # <seconds>TAB<command> | ||
+ | # OR | ||
+ | # <minute>TAB<hour>TAB<command> (You can use * as a wildcard) | ||
# | # | ||
- | # Sieh jede Stunde nach, ob das neue Update schon da ist | + | # Check every hour for the new update |
3600 update | 3600 update | ||
- | # Begrüsse mich einmal am Tag | + | # Greet me once a day just after i got out of bed at 11:30 (24 hour format) |
- | 86400 say guten morgen! | + | 30 11 say good morning! |
+ | # Say something 5 min after every full hour | ||
+ | 05 * say still online | ||
</code> | </code> |