This shows you the differences between the selected revision and the current version of the page.
topics:cron.txt 2009/01/04 23:18 | topics:cron.txt 2009/02/05 01:48 current | ||
---|---|---|---|
Line 2: | Line 2: | ||
# | # | ||
# The cron.txt allows you to define actions that are executed by the bot in cirtain intervalls. | # The cron.txt allows you to define actions that are executed by the bot in cirtain intervalls. | ||
- | # The format is <seconds>TAB<seconds> | + | # The format is |
+ | # <seconds>TAB<command> | ||
+ | # OR | ||
+ | # <minute>TAB<hour>TAB<command> (You can use * as a wildcard) | ||
# | # | ||
# Check every hour for the new update | # Check every hour for the new update | ||
3600 update | 3600 update | ||
- | # Greet me once a day | + | # Greet me once a day just after i got out of bed at 11:30 (24 hour format) |
- | 86400 say good morning! | + | 30 11 say good morning! |
+ | # Say something 5 min after every full hour | ||
+ | 05 * say still online | ||
</code> | </code> |