Subject: | Embed schedule configuration without main config instead of separate YAML file |
I personally use a Config::General file for my configuration, so it
would make more sense to just use that file for configuration of the
actual schedules. This way, there's no need for separate code. For
example:
<scheduler>
logging 1
hosts_allow 127.0.0.1
hosts_allow 192.168.1.1
<schedule>
at 0 * * * *
event /cron/remove_sessions
</schedule>
<schedule>
at 0 0 * * *
event /cron/rebuild_search_index
auto_run 0
</schedule>
</scheduler>