Size: 1014
Comment:
|
← Revision 5 as of 2012-08-25 19:59:16 ⇥
Size: 1083
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">Example: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">schedulepolicy 06:00 12:00 || | ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">Example: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">schedulepolicy 06:00 12:00<<BR>>schedulepolicy 06:00 12:00 17:00 23:00 || |
Line 5: | Line 5: |
This policy will tell the bot to start and stop performing actions during certain times of the day. In the example above, the bot would run from 6 to 12, and stop the rest of the time. You can add multiple start and end times to this policy, eg: schedulepolicy 06:00 12:00 17:00 23:00. | This policy will tell the bot to start and stop performing actions during certain times of the day. In the first example above, the bot would run from 6AM to 12 noon, and stop the rest of the time. In the second example above, the bot would run from 6AM to 12 noon, stop, then run again from 5PM to 11PM. |
Usage: |
schedulepolicy start_time end_time [start_time end_time start_time end_time] |
Example: |
schedulepolicy 06:00 12:00 |
This policy will tell the bot to start and stop performing actions during certain times of the day.
In the first example above, the bot would run from 6AM to 12 noon, and stop the rest of the time.
In the second example above, the bot would run from 6AM to 12 noon, stop, then run again from 5PM to 11PM.