@@ -5,6 +5,7 @@ title: How to Schedule Bot Actions
55description : How to automate scheduled bot actions using the cron facility
66category : [General]
77tag : [setup, schedule]
8+ pin : false
89date : 2026-03-26 15:52 -0700
910---
1011
@@ -62,7 +63,7 @@ in place of the five time-date fields.
6263Here is an example ` crontab ` entry with some brief descriptions in comments
6364of what activities are scheduled:
6465
65- ```
66+ ``` cron
6667SHELL=/bin/bash
6768#
6869# Schedule BotControl actions
@@ -118,12 +119,13 @@ The schedule set here is for the PG&E Time-of-Use Rate Plan E-6.
118119Although unrelated to scheduled bot actions, this example illustrates some of the
119120ways ` crontab ` can be used to schedule activity.
120121
121- ```
122- # By default these entries run every 15 minutes. This provides a keepalive function
123- # and relies on the start_miner script checking to see if it is already running.
124- # You may prefer to change the '0,15,30,45' entries to simply '0' or '15' to only
125- # start/stop once and not every 15 minutes. Or, you may prefer to increase the
126- # "keepalive" frequency from 15 to 5 minutes - '0,5,10,15,20,25,30,35,40,45,50,55'
122+ ``` cron
123+ # By default these entries run every 15 minutes. This provides
124+ # a keepalive function and relies on the start_miner script checking
125+ # to see if it is already running. You may prefer to change the
126+ # '0,15,30,45' entries to simply '0' or '15' to only start/stop once
127+ # and not every 15 minutes. Or, you may prefer to increase the "keepalive"
128+ # frequency from 15 to 5 minutes - '0,5,10,15,20,25,30,35,40,45,50,55'
127129#
128130# Set SHELL to run my custom cron startup script when running commands
129131SHELL=/usr/local/bin/cron.bash
0 commit comments