Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


All other scheduler configuration is done in the /etc/hcron/hcron.conf file which takes the form of a Python dictionary. The keys of the configuration file are:

allow_localhostBoolean indicating whether the local host may be targeted to run commands. The scheduler machine does not usually run commands in order to avoid overloading.
allow_root_eventsBoolean indicating whether events belonging to root will be run. Default is False.
command_spawn_timeoutTime (in seconds) allowed for a command to successfully spawn.
events_base_pathBase path for hcron events. Default is ~<username>/.hcron/<hostname>/events.
log_pathPath to the log file. A relative path is anchored at /var/log/hcron.
max_chain_eventsMaximum number of chained events allowed. Prevents against infinite recursion.
max_events_per_userMaximum number of events a user may have.
max_hcron_tree_snapshot_sizeMaximum size of the hcron event tree snapshot created at hcron-reload. hcron working space under /var/lib/hcron must be protected against exhaustion.
names_to_ignore_regexpRegular expression used to determine event names to ignore.
smtp_serverSMTP server to use for sending email notifications.
test_net_delayDelay between retry for obtaining information for test_net_username.
test_net_retryNumber of retries to obtaining information for test_net_username.
test_net_usernameUsername used to test if credentials information is available/working.
use_syslogBoolean indicating whether to use syslog or the log file.