This shows you the differences between the selected revision and the current version of the page.
topics:cron.txt 2009/02/04 15:16 | 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<command> | + | # The format is |
- | # OR <hour>TAB<minutes>TAB<command> | + | # <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 | ||
Line 9: | Line 11: | ||
# Greet me once a day just after i got out of bed at 11:30 (24 hour format) | # Greet me once a day just after i got out of bed at 11:30 (24 hour format) | ||
- | 11 30 say good morning! | + | 30 11 say good morning! |
+ | # Say something 5 min after every full hour | ||
+ | 05 * say still online | ||
</code> | </code> |